/* ============================
   TrueBuy - Stylesheet
   Mobile-first, responsive
   ============================ */

/* --- CSS Variables --- */
:root {
    --green-dark: #1a3c2a;
    --green-mid: #234d36;
    --green-light: #2d6b45;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d0;
    --orange: #c45a2d;
    --orange-light: #d4723f;
    --orange-glow: rgba(196, 90, 45, 0.15);
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utility --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   HEADER
   ============================ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--green-dark);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-weight: 800;
    font-size: 16px;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login {
    background: transparent;
    color: var(--green-dark);
    border: 1.5px solid var(--green-dark);
}

.btn-login:hover {
    background: var(--green-dark);
    color: var(--white);
}

.btn-signup {
    background: var(--orange);
    color: var(--white);
    border: 1.5px solid var(--orange);
}

.btn-signup:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--orange-glow);
}

.header-btn i {
    font-size: 14px;
}

.wallet-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: var(--green-dark);
    color: #5cdb7a;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.wallet-badge i {
    font-size: 12px;
}

.notif-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--black);
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.notif-btn:hover {
    background: var(--cream-dark);
}

.notif-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    right: 8px;
    border: 2px solid var(--white);
}

/* ============================
   MAIN CONTENT
   ============================ */
.main {
    padding: 20px 16px 100px;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    background: linear-gradient(145deg, var(--green-dark), var(--green-mid));
    border-radius: var(--radius);
    padding: 20px 20px 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--orange);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.hero p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 90%;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--cream);
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.hero-cta:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.hero-cta i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.hero-cta:hover i {
    transform: translateX(4px);
}

/* ============================
   TRUST BADGE
   ============================ */
.trust {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.trust-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: var(--orange-glow);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 18px;
}

.trust h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 5px;
}

.trust p {
    font-size: 12.5px;
    color: var(--gray);
    line-height: 1.55;
}

/* ============================
   EXPLORE PLATFORMS
   ============================ */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-head h2 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--black);
}

.section-head a {
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    transition: var(--transition);
}

.section-head a:hover {
    color: var(--orange-light);
}

.platforms {
    margin-bottom: 32px;
}

.plat-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.plat-grid::-webkit-scrollbar {
    display: none;
}

.plat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 72px;
    padding: 14px 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    scroll-snap-align: start;
    border: 1.5px solid transparent;
}

.plat-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-md);
}

.plat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
}

.plat-icon.ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.plat-icon.tt {
    background: #000000;
}

.plat-icon.yt {
    background: #ff0000;
}

.plat-icon.xx {
    background: #000000;
}

.plat-icon.fb {
    background: #1877f2;
}

.plat-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
}

/* ============================
   SPOTLIGHTS
   ============================ */
.spotlights {
    margin-bottom: 30px;
}

.spot-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 2px dashed var(--gray-light);
    text-align: center;
}

.spot-empty i {
    font-size: 32px;
    color: var(--gray-light);
    margin-bottom: 12px;
}

.spot-empty p {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.spot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.spot-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.spot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.spot-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gray);
}

.spot-body {
    padding: 12px;
}

.spot-platform {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray);
    margin-bottom: 6px;
}

.spot-platform i {
    font-size: 10px;
}

.spot-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spot-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.spot-followers {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
}

.spot-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--green-dark);
}

.spot-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: var(--green-light);
    font-weight: 600;
}

.spot-verified i {
    font-size: 10px;
}

/* ============================
   BOTTOM NAV (Mobile)
   ============================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 0 12px;
    z-index: 200;
}

.bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 14px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--gray);
    font-family: inherit;
    transition: var(--transition);
}

.bnav-item i {
    font-size: 20px;
}

.bnav-item span {
    font-size: 10px;
    font-weight: 600;
}

.bnav-item.active {
    color: var(--orange);
}

.bnav-fab {
    width: 52px;
    height: 52px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: -28px;
    box-shadow: 0 4px 15px var(--orange-glow);
    transition: var(--transition);
}

.bnav-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(196, 90, 45, 0.35);
}

/* ============================
   SIDEBAR (Desktop)
   ============================ */
.sidebar {
    display: none;
}

/* ============================
   MODALS
   ============================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.modal-box {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-box h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--black);
}

.modal-box .modal-sub {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-size: 14px;
    color: var(--black);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--green-dark);
    box-shadow: 0 0 0 3px rgba(26, 60, 42, 0.1);
}

.form-submit {
    width: 100%;
    padding: 13px;
    background: var(--green-dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 4px;
}

.form-submit:hover {
    background: var(--green-mid);
    transform: translateY(-1px);
}

.modal-switch {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: var(--gray);
}

.modal-switch a {
    color: var(--orange);
    font-weight: 600;
}

/* ============================
   DESKTOP LAYOUT (768px+)
   ============================ */
@media (min-width: 768px) {

    .bottom-nav {
        display: none;
    }

    .sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 240px;
        background: var(--white);
        border-right: 1px solid var(--gray-light);
        padding: 24px 0;
        z-index: 150;
    }

    .side-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 24px;
        margin-bottom: 36px;
    }

    .side-logo .logo-icon {
        width: 38px;
        height: 38px;
    }

    .side-logo .logo-text {
        font-size: 21px;
    }

    .side-nav {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 0 12px;
    }

    .side-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: var(--radius-xs);
        font-size: 14px;
        font-weight: 600;
        color: var(--gray);
        transition: var(--transition);
        border: none;
        background: none;
        cursor: pointer;
        font-family: inherit;
        width: 100%;
        text-align: left;
    }

    .side-link i {
        font-size: 18px;
        width: 22px;
        text-align: center;
    }

    .side-link:hover {
        background: var(--cream);
        color: var(--black);
    }

    .side-link.active {
        background: var(--orange-glow);
        color: var(--orange);
    }

    .side-bottom {
        padding: 16px 24px;
        border-top: 1px solid var(--gray-light);
        margin-top: auto;
    }

    .side-user {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .side-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--cream-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gray);
        font-size: 14px;
    }

    .side-user-info span {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--black);
    }

    .side-user-info small {
        font-size: 11px;
        color: var(--gray);
    }

    .logout-link {
        color: var(--orange);
        font-weight: 600;
        transition: var(--transition);
    }

    .logout-link:hover {
        color: var(--orange-light);
    }

    /* Shift header & main */
    .header {
        margin-left: 240px;
    }

    .main {
        margin-left: 240px;
        max-width: 900px;
        padding: 30px 40px 60px;
    }

    /* Hero wider */
    .hero {
        padding: 40px 36px 44px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 14px;
        max-width: 70%;
    }

    /* Platforms row */
    .plat-grid {
        gap: 16px;
        overflow: visible;
    }

    .plat-card {
        min-width: 0;
        flex: 1;
        padding: 18px 14px;
    }

    /* Spotlights 3-col */
    .spot-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .spot-img {
        height: 130px;
    }
}

/* ============================
   LARGE DESKTOP (1200px+)
   ============================ */
@media (min-width: 1200px) {
    .sidebar {
        width: 260px;
    }

    .header {
        margin-left: 260px;
    }

    .main {
        margin-left: 260px;
        max-width: 1040px;
        padding: 36px 48px 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .spot-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================
   SETTINGS PAGE
   ============================ */
.settings-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.settings-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
}

.back-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--black);
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.back-link:hover {
    background: var(--cream-dark);
}

.settings-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-light);
}

.card-head i {
    font-size: 18px;
    color: var(--orange);
}

.card-head h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.info-row span {
    font-size: 13px;
    color: var(--gray);
}

.info-row strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-xs);
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
}

.alert-success {
    background: rgba(45, 107, 69, 0.1);
    color: var(--green-light);
    border: 1px solid rgba(45, 107, 69, 0.2);
}

.alert-error {
    background: rgba(196, 90, 45, 0.1);
    color: var(--orange);
    border: 1px solid rgba(196, 90, 45, 0.2);
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--white);
    color: #d44;
    border: 1.5px solid #e8d0d0;
    border-radius: var(--radius-xs);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 30px;
}

.logout-btn:hover {
    background: #fdf2f2;
    border-color: #d44;
}

/* ============================
   EXPLORE & FILTERS
   ============================ */
.search-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input-group {
    position: relative;
    flex: 1;
}

.search-input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-input-group input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-size: 14px;
    background: var(--white);
    outline: none;
    transition: var(--transition);
}

.search-input-group input:focus {
    border-color: var(--green-dark);
    box-shadow: 0 0 0 3px rgba(26, 60, 42, 0.1);
}

.search-btn {
    padding: 12px 20px;
    background: var(--green-dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--green-mid);
}

.filter-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--white);
    border: 1.5px solid var(--gray-light);
    border-radius: 50px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--gray);
    color: var(--black);
}

.filter-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 10px var(--orange-glow);
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background: var(--green-dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.buy-btn:hover {
    background: var(--green-mid);
}

/* ============================
   STATUS BADGES
   ============================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-active {
    background: rgba(45, 107, 69, 0.1);
    color: var(--green-light);
}

.badge-sold {
    background: rgba(107, 114, 128, 0.1);
    color: var(--gray);
}

.badge-pending {
    background: rgba(196, 90, 45, 0.1);
    color: var(--orange);
}

.badge-held {
    background: #fef3c7;
    color: #d97706;
}

.badge-released {
    background: #d1fae5;
    color: #059669;
}

.badge-refunded {
    background: #fee2e2;
    color: #dc2626;
}

/* ============================
   FORMS EXTRA
   ============================ */
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-size: 14px;
    color: var(--black);
    outline: none;
    background: var(--white);
    transition: var(--transition);
}

.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-dark);
    box-shadow: 0 0 0 3px rgba(26, 60, 42, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================
   WALLET PAGE
   ============================ */
.wallet-hero {
    background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
    border-radius: var(--radius);
    padding: 30px 24px;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.wallet-hero::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.wallet-lbl {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.wallet-val {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.wallet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .wallet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================
   DEALS / TRANSACTIONS
   ============================ */
.deal-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
}

.deal-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--black);
}

.deal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.deal-row span {
    color: var(--gray);
}

.deal-row strong {
    color: var(--black);
}

.deal-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-success {
    background: var(--green-dark);
    color: var(--white);
}

.btn-success:hover {
    background: var(--green-light);
}

.btn-danger {
    background: #dc2626;
    color: var(--white);
}

.btn-danger:hover {
    background: #ef4444;
}

