

.ogh-page {
  --ogh-surface: rgba(237, 237, 237, 0.05);
  --ogh-surface-10: rgba(237, 237, 237, 0.1);
  --ogh-border: rgba(237, 237, 237, 0.2);
  --ogh-text: #ededed;
  --ogh-text-2: rgba(237, 237, 237, 0.8);
  --ogh-text-3: rgba(237, 237, 237, 0.55);
  --ogh-ink: #180d22;

  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
}


.ogh-tabs {
  display: flex;
  gap: 10px;
  margin-top: 7px;
}

.ogh-tab {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--ogh-border);
  border-radius: 4px;
  background: transparent;
  color: var(--ogh-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ogh-tab:hover {
  background: var(--ogh-surface-10);
}

.ogh-tab[aria-selected="true"] {
  border-color: var(--ogh-text);
  border-radius: 100px;
  background: var(--ogh-text);
  color: var(--ogh-ink);
  cursor: default;
}

.ogh-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--sundrop);
}


.ogh-body {
  box-sizing: border-box;
  width: 100%;
  padding: 15px 10px var(--spacing-xl);
}

.ogh-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ogh-panel[hidden] {
  display: none;
}

.ogh-notice {
  margin: 0;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 18px;
  color: var(--ogh-text-3);
  text-align: center;
}


.ogh-filters {
  display: flex;
  gap: 5px;
  margin: 0 -10px;
  padding: 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ogh-filters[hidden] {
  display: none;
}

.ogh-filters::-webkit-scrollbar {
  display: none;
}

.ogh-filter {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border: none;
  border-radius: 100px;
  background: hsla(0, 0%, 100%, 0.1);
  color: var(--ogh-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ogh-filter:not([aria-pressed="true"]):hover {
  background: hsla(0, 0%, 100%, 0.15);
}

.ogh-filter[aria-pressed="true"] {
  background: var(--ogh-text);
  color: var(--ogh-ink);
}

.ogh-filter[aria-pressed="true"]:hover {
  opacity: 0.85;
}

.ogh-filter:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--sundrop);
}


.ogh-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ogh-list[hidden] {
  display: none;
}

.ogh-row {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: var(--ogh-surface);
  font-size: inherit;
  color: inherit;
}

.ogh-row-icon {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.ogh-row-body {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 30px;
}

.ogh-row-title {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 18px;
  color: var(--ogh-text);
  overflow-wrap: anywhere;
}

.ogh-row-verb {
  font-size: inherit;
  color: var(--ogh-text-2);
}

.ogh-pill {
  box-sizing: border-box;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3px;
  height: 21px;
  padding: 5px 8px;
  border-radius: 100px;
  background: var(--ogh-surface-10);
}

.ogh-pill-icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: cover;
}

.ogh-pill-value {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 16px;
  color: var(--ogh-text);
  white-space: nowrap;
}


.ogh-pill-debit {
  background: var(--ogh-surface);
}

.ogh-pill-debit .ogh-pill-value {
  color: var(--ogh-text-3);
}

.ogh-row-time {
  flex-shrink: 0;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 16px;
  color: var(--ogh-text-2);
  white-space: nowrap;
}

.ogh-more {
  align-self: center;
  margin-top: 5px;
  padding: var(--spacing-sm) var(--spacing-xl);
  border: 1px solid var(--ogh-border);
  border-radius: 100px;
  background: none;
  color: var(--ogh-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  line-height: 18px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ogh-more:hover:not(:disabled) {
  background: var(--ogh-surface-10);
}

.ogh-more:disabled {
  opacity: 0.6;
  cursor: default;
}

.ogh-more[hidden] {
  display: none;
}


.ogh-balance-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 20px 15px;
  border-radius: 8px;
  background: var(--ogh-surface);
}

.ogh-balance {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  font-size: inherit;
  color: inherit;
}

.ogh-balance-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.ogh-balance-value {
  font-family: var(--font-montra);
  font-size: 30px;
  font-weight: normal;
  line-height: 30px;
  color: var(--sundrop);
}

.ogh-rule {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 18px;
  color: var(--ogh-text-2);
  text-align: center;
}

.ogh-rule-strong {
  font-size: inherit;
  color: var(--ogh-text);
}

.ogh-expiry-error {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ogh-expiry-error[hidden],
.ogh-groups[hidden] {
  display: none;
}

.ogh-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ogh-group {
  font-size: inherit;
  color: inherit;
}

.ogh-group-details {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: var(--ogh-surface);
}

.ogh-group-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
}


.ogh-group-summary::-webkit-details-marker {
  display: none;
}

.ogh-group-summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--sundrop);
  border-radius: 4px;
}

.ogh-group-label,
.ogh-day-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 18px;
  color: var(--ogh-text-2);
  white-space: nowrap;
}

.ogh-day-label {
  color: var(--ogh-text-3);
}

.ogh-group-end {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ogh-amount {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 40px;
  height: 21px;
  font-size: inherit;
  color: inherit;
}

.ogh-amount-icon {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  object-fit: cover;
}

.ogh-amount-value {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 18px;
  color: var(--ogh-text);
  white-space: nowrap;
}

.ogh-amount-muted .ogh-amount-value {
  color: var(--ogh-text-3);
}

.ogh-caret,
.ogh-caret-space {
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.ogh-caret {
  color: var(--ogh-text-2);
  transition: transform 0.2s ease;
}

.ogh-group-details[open] .ogh-caret {
  transform: rotate(180deg);
}

.ogh-days {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.ogh-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 15px;
  font-size: inherit;
  color: inherit;
}


@media (min-width: 1024px) {
  .ogh-body {
    padding: var(--spacing-lg) var(--spacing-9xl) var(--spacing-xl);
  }

  
  .ogh-tab {
    flex: 0 0 auto;
  }

  .ogh-filters {
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ogh-caret,
  .ogh-tab,
  .ogh-filter,
  .ogh-more {
    transition: none;
  }
}
