/* ======================================================
   Goldie Guided Application — Stylesheet
   Gold: #d1aa66  |  Dark: #1a1a1a  |  Font: Inter
   ====================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* ---------- Layout ---------- */
.g-shell {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    height: 100vh;
    background: #f4f1ec;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* ---------- Topbar ---------- */
.g-topbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: #1a1a1a;
    color: #fff;
    z-index: 10;
}

.g-topbar-logo {
    font-weight: 700;
    font-size: 1rem;
    color: #d1aa66;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.g-topbar-title {
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
    color: #e2c38a;
    font-weight: 500;
}

.g-topbar-step {
    font-size: 0.8rem;
    color: #adb5bd;
    white-space: nowrap;
}

.g-topbar-exit {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .35rem .85rem;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
    transition: background .2s;
    cursor: pointer;
    margin-left: auto;
}

.g-topbar-exit:hover { background: #bb2d3b; color: #fff; text-decoration: none; }

/* ---------- Exit Modal ---------- */
.g-exit-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.g-exit-modal-backdrop.show { display: flex; }

.g-exit-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: g-modal-in 0.25s ease;
}
@keyframes g-modal-in {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.g-exit-modal-header {
    background: #1a1a1a;
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}
.g-exit-modal-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem;
}
.g-exit-modal-sub {
    color: #adb5bd;
    font-size: 0.83rem;
    line-height: 1.5;
    margin: 0;
}

.g-exit-modal-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.g-exit-field { display: flex; flex-direction: column; gap: 0.25rem; }
.g-exit-label { font-size: 0.78rem; font-weight: 600; color: #495057; }
.g-exit-input {
    border: 1.5px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #212529;
    outline: none;
    transition: border-color 0.15s;
    font-family: 'Inter', sans-serif;
}
.g-exit-input:focus { border-color: #d1aa66; }

.g-exit-modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.g-exit-btn {
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    font-family: 'Inter', sans-serif;
}
.g-exit-save   { background: #d1aa66; color: #1a1a1a; }
.g-exit-save:hover { background: #b8923e; }
.g-exit-plain  { background: transparent; color: #dc3545; border: 1.5px solid #dc3545; }
.g-exit-plain:hover { background: #dc3545; color: #fff; }
.g-exit-cancel { background: #2c3e50; color: #fff; }
.g-exit-cancel:hover { background: #1a252f; }

/* ---------- Resume Banner ---------- */
.g-resume-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fdf9f0, #fef3d0);
    border: 2px solid #d1aa66;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
    margin: 0.5rem 0;
}
.g-resume-icon { font-size: 2rem; color: #d1aa66; }
.g-resume-text { font-size: 0.88rem; color: #495057; line-height: 1.5; }
.g-resume-text strong { color: #1a1a1a; }
.g-resume-actions { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; max-width: 280px; }
.g-resume-btn {
    border: none; border-radius: 8px; padding: 0.6rem 1rem;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: all 0.18s; font-family: 'Inter', sans-serif;
}
.g-resume-yes { background: #d1aa66; color: #1a1a1a; }
.g-resume-yes:hover { background: #b8923e; }
.g-resume-no  { background: transparent; border: 1.5px solid #6c757d; color: #6c757d; }
.g-resume-no:hover { background: #6c757d; color: #fff; }

/* ---------- Progress Bar ---------- */
.g-progress-wrap {
    flex-shrink: 0;
    background: #2c2c2c;
    padding: 0.4rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.g-progress-track {
    flex: 1;
    height: 6px;
    background: #3d3d3d;
    border-radius: 3px;
    overflow: hidden;
}

.g-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d1aa66, #e2c38a);
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 0%;
}

.g-progress-label {
    font-size: 0.72rem;
    color: #adb5bd;
    white-space: nowrap;
}

/* ---------- Transcript (chat area) ---------- */
.g-transcript {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-behavior: smooth;
}

.g-transcript::-webkit-scrollbar { width: 4px; }
.g-transcript::-webkit-scrollbar-thumb { background: #d1aa66; border-radius: 2px; }

/* ---------- Bubbles ---------- */
.g-bubble-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    max-width: 85%;
    animation: bubbleFadeIn 0.3s ease;
}

@keyframes bubbleFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.g-bubble-goldie-wrap { align-self: flex-start; }
.g-bubble-user-wrap   { align-self: flex-end; flex-direction: row-reverse; }

.g-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.g-avatar-goldie {
    background: transparent;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(209,170,102,.4);
}

.g-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.g-avatar-user { background: #2c3e50; color: #d1aa66; font-size: .9rem; }

.g-bubble {
    padding: 0.7rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 100%;
    word-break: break-word;
}

.g-bubble-goldie {
    background: #fff;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.g-bubble-user {
    background: #d1aa66;
    color: #1a1a1a;
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.g-typing {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 20px;
    padding: 0 4px;
}

.g-typing span {
    width: 7px;
    height: 7px;
    background: #d1aa66;
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.g-typing span:nth-child(2) { animation-delay: 0.2s; }
.g-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40%            { transform: translateY(-6px); opacity: 1; }
}

/* ---------- Action Area ---------- */
.g-action-wrap {
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
    max-height: 55vh;
    overflow-y: auto;
}

#g-action {
    padding: 1rem 1.25rem 0.5rem;
    min-height: 80px;
}

/* ---------- Nav Buttons ---------- */
.g-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem 0.75rem;
    background: #fff;
    border-top: 1px solid #f0ede8;
    gap: 0.5rem;
}

.g-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.g-btn-back {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.g-btn-back:hover { background: #f8f9fa; color: #1a1a1a; }

.g-btn-skip {
    background: transparent;
    color: #6c757d;
    margin-left: auto;
}

.g-btn-continue {
    background: #d1aa66;
    color: #1a1a1a;
    padding: 0.55rem 1.75rem;
}

.g-btn-continue:hover {
    background: #b08c4a;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(209,170,102,0.35);
}

.g-btn-continue:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Error ---------- */
.g-error {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    font-size: 0.83rem;
    margin-bottom: 0.75rem;
}

/* ---------- Intro Screen ---------- */
.g-intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0 1rem;
}

.g-intro-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 0.75rem;
}

.g-intro-avatar-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(209,170,102,.45);
}

.g-intro-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.g-intro-pulse {
    position: absolute;
    top: -6px; left: -6px;
    width: 92px; height: 92px;
    border-radius: 50%;
    border: 3px solid #d1aa66;
    animation: goldPulse 2s infinite ease-in-out;
}

@keyframes goldPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%       { transform: scale(1.1); opacity: 0.3; }
}

.g-intro-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
}

.g-intro-subtitle {
    font-size: 0.82rem;
    color: #6c757d;
}

/* ---------- Card Grid (category) ---------- */
.g-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    padding-bottom: 0.5rem;
}

.g-card-grid-image {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.g-select-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    text-align: center;
}

.g-select-card:hover {
    border-color: #d1aa66;
    box-shadow: 0 4px 12px rgba(209,170,102,0.2);
    transform: translateY(-2px);
}

.g-select-card.selected {
    border-color: #d1aa66;
    background: #fdf9f0;
    box-shadow: 0 4px 16px rgba(209,170,102,0.3);
}

.g-select-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.g-select-card-sub {
    font-size: 0.72rem;
    color: #6c757d;
    line-height: 1.3;
}

/* Image cards */
.g-select-card-image {
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.g-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.g-card-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.g-select-card-image .g-select-card-title {
    padding: 0.5rem 0.75rem 0.25rem;
}

.g-select-card-image .g-select-card-sub {
    padding: 0 0.75rem 0.75rem;
}

/* ---------- Chips (cohort) ---------- */
.g-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
}

.g-chip {
    padding: 0.45rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 20px;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
}

.g-chip:hover {
    border-color: #d1aa66;
    color: #1a1a1a;
}

.g-chip.selected {
    border-color: #d1aa66;
    background: #d1aa66;
    color: #1a1a1a;
    font-weight: 600;
}

/* ---------- Text / Multi Inputs ---------- */
.g-input, .g-select, .g-textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}

.g-input:focus, .g-select:focus, .g-textarea:focus {
    border-color: #d1aa66;
    box-shadow: 0 0 0 3px rgba(209,170,102,0.15);
}

.g-textarea { resize: vertical; min-height: 60px; }

.g-multi-input {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.g-field-group { display: flex; flex-direction: column; gap: 0.3rem; }

.g-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.g-optional {
    font-size: 0.68rem;
    font-weight: 400;
    color: #adb5bd;
    background: #f8f9fa;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

/* ---------- File Upload Zone ---------- */
.g-drop-zone {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8f9fa;
    position: relative;
}

.g-drop-zone:hover, .g-drop-zone.drag-over {
    border-color: #d1aa66;
    background: #fdf9f0;
}

.g-drop-zone.has-file {
    border-color: #28a745;
    background: #f0fff4;
    border-style: solid;
    cursor: default;
}

.g-drop-icon { font-size: 2rem; margin-bottom: 0.5rem; color: #adb5bd; }
.g-drop-text { font-size: 0.88rem; color: #495057; margin-bottom: 0.25rem; }
.g-drop-hint { font-size: 0.75rem; color: #adb5bd; }

/* File preview after upload */
.g-file-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.g-file-preview-img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #28a745;
    box-shadow: 0 4px 16px rgba(40,167,69,0.2);
}

.g-file-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #6c757d;
}

.g-file-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.g-file-name {
    font-size: 0.82rem;
    color: #155724;
    font-weight: 600;
    word-break: break-all;
    text-align: center;
    max-width: 220px;
}

.g-file-remove {
    background: #fff;
    border: 1.5px solid #dc3545;
    color: #dc3545;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.18s;
}

.g-file-remove:hover {
    background: #dc3545;
    color: #fff;
}

/* ---------- Review Screen ---------- */
.g-review {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.g-review-section {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.g-review-section-title {
    padding: 0.6rem 1rem;
    background: #1a1a1a;
    color: #d1aa66;
    font-size: 0.82rem;
    font-weight: 600;
}

.g-review-row {
    display: flex;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e9ecef;
    gap: 0.5rem;
}

.g-review-row:last-child { border-bottom: none; }

.g-review-label {
    font-size: 0.78rem;
    color: #6c757d;
    min-width: 130px;
    flex-shrink: 0;
}

.g-review-value {
    font-size: 0.82rem;
    color: #1a1a1a;
    font-weight: 500;
    word-break: break-word;
}

/* ---------- Nationality Select + Citizenship Badge ---------- */
.g-nationality-wrap { display: flex; flex-direction: column; gap: 0.5rem; }

.g-nationality-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fdf9f0, #fef3d0);
    border: 1.5px solid #d1aa66;
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font-size: 0.83rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.g-nationality-badge i {
    color: #d1aa66;
    font-size: 0.9rem;
}

/* ---------- Qualification Chip Strip ---------- */
.g-qual-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.25rem 0;
}

.g-qual-chip {
    padding: 0.4rem 0.85rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}

.g-qual-chip:hover {
    border-color: #d1aa66;
    color: #1a1a1a;
    background: #fdf9f0;
}

.g-qual-chip.selected {
    border-color: #d1aa66;
    background: #d1aa66;
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(209,170,102,0.35);
}

/* ---------- Empty Category ---------- */
.g-empty-category { padding: 1.5rem; text-align: center; }
.g-empty-msg  { font-size: 1rem; color: #6c757d; margin-bottom: .5rem; }
.g-empty-sub  { font-size: .9rem; color: #495057; font-weight: 600; margin-bottom: .75rem; }

/* ---------- Returning Applicant Lookup ---------- */
.g-returning-lookup {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}
.g-lookup-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}
.g-lookup-input {
    flex: 1;
    border: 1.5px solid #dee2e6;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}
.g-lookup-input:focus { border-color: #d1aa66; box-shadow: 0 0 0 3px rgba(209,170,102,.15); }
.g-lookup-btn {
    background: #d1aa66;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: background 0.18s;
}
.g-lookup-btn:hover { background: #b8923e; }
.g-lookup-result { margin-top: 0.25rem; }

/* Not found state */
.g-lookup-notfound {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    font-size: 0.875rem;
    color: #664d03;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.g-lookup-notfound i { flex-shrink: 0; margin-top: 0.1rem; }

/* Found state */
.g-lookup-card {
    background: #f8f9fa;
    border: 1.5px solid #d1aa66;
    border-radius: 12px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.g-lookup-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}
.g-lookup-ref {
    font-size: 0.78rem;
    color: #6c757d;
    font-family: 'Courier New', monospace;
}
.g-lookup-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    background: #e9ecef;
    color: #495057;
    align-self: flex-start;
}
.g-lookup-paid {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #198754;
    background: #d1e7dd;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    align-self: flex-start;
}
.g-lookup-action-btn {
    margin-top: 0.4rem;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.18s;
}
.g-lookup-pay {
    background: #d1aa66;
    color: #1a1a1a;
}
.g-lookup-pay:hover { background: #b8923e; color: #1a1a1a; text-decoration: none; }
.g-lookup-account {
    background: #1a1a1a;
    color: #fff;
}
.g-lookup-account:hover { background: #2c2c2c; color: #fff; text-decoration: none; }
.g-lookup-done {
    background: #d1e7dd;
    color: #0a3622;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    text-align: center;
}
.g-lookup-done i { margin-right: 0.3rem; }

/* Login link step */
.g-login-prompt {
    text-align: center;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.g-login-prompt i { font-size: 2rem; color: #d1aa66; }
.g-login-prompt p { font-size: 0.9rem; color: #495057; margin: 0; }
.g-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #1a1a1a;
    color: #d1aa66;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s;
}
.g-login-link:hover { background: #2c2c2c; color: #d1aa66; text-decoration: none; }

/* ---------- Payment Step ---------- */
.g-payment-card {
    background: #f8f9fa;
    border: 1.5px solid #d1aa66;
    border-radius: 12px;
    padding: 1.25rem;
    width: 100%;
}
.g-payment-header {
    display: flex; align-items: center; gap: 0.5rem;
    font-weight: 600; font-size: 0.9rem; color: #495057;
    margin-bottom: 0.4rem;
}
.g-payment-header i { color: #d1aa66; }
.g-payment-amount {
    font-size: 1.75rem; font-weight: 700; color: #1a1a1a;
    margin: 0.1rem 0 0.35rem;
}
.g-payment-desc { font-size: 0.83rem; color: #6c757d; margin: 0; }

/* ---------- Account Setup Step ---------- */
.g-account-card {
    display: flex; flex-direction: column; gap: 0.6rem; width: 100%;
}
.g-field-wrap { display: flex; flex-direction: column; gap: 0.2rem; }
.g-field-label { font-size: 0.8rem; font-weight: 600; color: #495057; }

/* Username badge */
.g-username-badge {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.g-username-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0369a1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.g-username-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}
.g-username-note {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.1rem;
}

/* Password field with eye toggle */
.g-pw-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.g-pw-input {
    padding-right: 2.5rem !important;
    flex: 1;
}
.g-pw-toggle {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}
.g-pw-toggle:hover { color: #1a1a1a; }

/* ---------- Logo in topbar ---------- */
.g-topbar-logo-img { height: 28px; width: auto; object-fit: contain; }
.g-topbar-logo-text {
    font-size: 1rem; font-weight: 800; color: #d1aa66;
    letter-spacing: 0.08em; align-items: center;
}

/* ---------- Completion Step ---------- */
.g-completion-card {
    text-align: center; padding: 1.5rem 1rem; width: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.g-completion-icon { font-size: 3rem; color: #198754; }
.g-completion-title { font-size: 1.2rem; font-weight: 700; color: #1a1a1a; margin: 0; }
.g-completion-msg { font-size: 0.88rem; color: #495057; max-width: 300px; margin: 0; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .g-topbar-logo { font-size: 0.85rem; }
    .g-topbar-title { font-size: 0.82rem; }
    .g-card-grid { grid-template-columns: 1fr 1fr; }
    .g-card-grid-image { grid-template-columns: 1fr 1fr; }
    .g-bubble { font-size: 0.85rem; }
}

@media (min-width: 768px) {
    .g-shell { max-width: 700px; margin: 0 auto; box-shadow: 0 0 40px rgba(0,0,0,0.15); }
    .g-card-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .g-card-grid-image { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
