:root {
  --gg-mint: #12aaa5;
  --gg-ink: #102725;
  --gg-line: #dfe6e3;
  --gg-bg: #f5f6f2;
  --gg-muted: #71807c;
}

body {
  background: var(--gg-bg) !important;
  color: var(--gg-ink) !important;
  padding-bottom: 92px !important;
}

.gubyeol-mypage-shell {
  min-height: calc(100vh - 88px);
  padding: 34px 24px 70px;
}

.gubyeol-mypage-inner {
  width: min(1120px, 100%);
  min-height: 70vh;
  margin: 0 auto;
  overflow: visible !important;
  height: auto !important;
  background: transparent !important;
}

#myPageContent > .bg-light {
  border: 1px solid var(--gg-line) !important;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #effaf8 100%) !important;
  box-shadow: 0 18px 48px rgba(16, 39, 37, 0.07);
  overflow: hidden;
}

#myPageContent > .bg-light > div {
  max-width: none !important;
  padding: 18px 22px 4px;
}

#myPageContent > .bg-light h6 {
  color: var(--gg-mint) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
}

#myPageContent > .bg-light .fa-user {
  color: var(--gg-mint) !important;
}

#myPageContent > .bg-light .d-flex > div:first-child {
  border-color: var(--gg-mint) !important;
  background: #e7f8f6 !important;
}

#myPageContent > .bg-light .btn,
#editProfileModal .btn:not(.btn-close) {
  background: var(--gg-ink) !important;
}

#loginTypeBadge {
  color: var(--gg-mint) !important;
}

.gubyeol-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  margin-top: 22px;
}

.gubyeol-account-section,
.gubyeol-order-column,
.gubyeol-logout-card {
  border: 1px solid var(--gg-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 39, 37, 0.06);
}

.gubyeol-account-section {
  padding: 26px;
}

.gubyeol-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.gubyeol-section-kicker {
  display: block;
  color: var(--gg-mint);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 5px;
}

.gubyeol-section-heading h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
}

.gubyeol-section-link {
  flex: none;
  color: var(--gg-ink);
  border-bottom: 1px solid var(--gg-ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.gubyeol-quote-list {
  display: grid;
  gap: 12px;
}

.gubyeol-quote-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  padding: 18px;
  border: 1px solid #e5eae7;
  border-radius: 18px;
  background: #fbfcfa;
}

.gubyeol-quote-card h3 {
  margin: 0 0 5px;
  font-size: 1.02rem;
  font-weight: 800;
}

.gubyeol-quote-meta {
  color: var(--gg-muted);
  font-size: 0.82rem;
}

.gubyeol-quote-status {
  align-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  background: #dff7f3;
  color: #087d79;
  font-size: 0.78rem;
  font-weight: 800;
}

.gubyeol-quote-detail {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  padding-top: 11px;
  border-top: 1px solid #e6ebe8;
  color: #50605c;
  font-size: 0.83rem;
}

.gubyeol-expert-message {
  flex-basis: 100%;
  margin: 3px 0 0;
  padding: 11px 12px;
  border-radius: 12px;
  color: #33433f;
  background: #eaf7f4;
  line-height: 1.55;
}

.gubyeol-empty-card {
  padding: 34px 18px;
  border: 1px dashed #c9d5d1;
  border-radius: 18px;
  color: var(--gg-muted);
  text-align: center;
  background: #fbfcfa;
}

.gubyeol-order-stack {
  display: grid;
  gap: 22px;
}

.gubyeol-order-column {
  width: 100% !important;
  max-width: none !important;
  padding: 20px;
}

.gubyeol-order-heading {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px !important;
  padding: 0 0 13px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--gg-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--gg-ink) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
}

.gubyeol-order-heading i {
  color: var(--gg-mint) !important;
  text-shadow: none !important;
}

.gubyeol-logout-card {
  width: 100% !important;
  max-width: none !important;
  overflow: hidden;
}

.gubyeol-logout-card .list-group-item {
  border: 0;
  padding: 18px 20px !important;
}

#editProfileModal .modal-header,
#profileTabs {
  border-color: var(--gg-mint) !important;
}

@media (max-width: 820px) {
  .gubyeol-mypage-shell {
    padding: 20px 16px 54px;
  }

  .gubyeol-account-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 78px !important;
  }

  .gubyeol-mypage-shell {
    padding: 12px 12px 38px;
  }

  #myPageContent > .bg-light {
    border-radius: 20px;
  }

  #myPageContent > .bg-light > div {
    padding: 13px 10px 2px;
  }

  .gubyeol-account-section,
  .gubyeol-order-column {
    padding: 18px;
    border-radius: 20px;
  }

  .gubyeol-section-heading {
    align-items: center;
  }

  .gubyeol-quote-card {
    grid-template-columns: 1fr;
  }

  .gubyeol-quote-status {
    justify-self: start;
  }
}
