/* ============================================================
   ReshimGaath — Design System
   Color Palette: Maroon + Gold + Teal + Cream
   Fonts: Playfair Display + Hind + Poppins
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Hind:wght@300;400;500;600&family=Poppins:wght@400;500;600&display=swap');

/* ============================================================
   CSS Variables — Design Tokens
   ============================================================ */
:root {
    /* Colors */
    --primary:        #8B1A4A;
    --primary-dark:   #6B1238;
    --primary-light:  #B5245F;
    --secondary:      #C9973A;
    --secondary-light:#E8B85A;
    --accent:         #2E8B7A;
    --accent-light:   #3AADA0;
    --bg:             #FDF8F2;
    --bg-card:        #FFFFFF;
    --bg-dark:        #1A1A2E;
    --text-primary:   #1A1A2E;
    --text-secondary: #6B6B8A;
    --text-light:     #9999AA;
    --border:         #E8E0D8;
    --border-light:   #F0EBE3;
    --success:        #2D7A4F;
    --success-light:  #E8F5EE;
    --error:          #C0392B;
    --error-light:    #FDEAEA;
    --warning:        #E67E22;
    --warning-light:  #FEF5E7;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7B1040 0%, #A8255C 60%, #C9973A 100%);
    --gradient-hero:    linear-gradient(135deg, #4A0E2E 0%, #7B1040 40%, #1F6B5A 100%);
    --gradient-card:    linear-gradient(180deg, #FFFFFF 0%, #FDF8F2 100%);

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(139,26,74,0.08);
    --shadow-md:   0 4px 16px rgba(139,26,74,0.12);
    --shadow-lg:   0 8px 32px rgba(139,26,74,0.16);
    --shadow-card: 0 2px 12px rgba(26,26,46,0.08);

    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Border radius */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.25s ease;
    --transition-slow: all 0.4s ease;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Hind', 'Noto Sans Devanagari', sans-serif;
    --font-ui:      'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--primary-dark); }

img { max-width: 100%; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.3;
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }

.text-primary   { color: var(--primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-success   { color: var(--success) !important; }
.text-error     { color: var(--error) !important; }
.text-gold      { color: var(--secondary) !important; }

/* ============================================================
   Layout
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-sm {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-md {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: var(--space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.navbar-brand .brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7B1040 0%, #C9973A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand .brand-marathi {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    line-height: 1;
    font-family: var(--font-body);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(139,26,74,0.08);
    color: var(--primary);
}

.navbar-nav .nav-link .nav-icon {
    font-size: 1rem;
}

.wallet-chip {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--secondary-light);
    border-radius: var(--radius-full);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    border: 1px solid var(--secondary);
}

.chat-badge {
    position: relative;
    display: inline-block;
}

.chat-badge .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--error);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: var(--radius-full);
    min-width: 18px;
    text-align: center;
}

.btn-logout {
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: transparent;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout:hover {
    background: var(--error-light);
    color: var(--error);
    border-color: var(--error);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 10px var(--space-lg);
    border-radius: var(--radius-full);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(139,26,74,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123,16,64,0.35);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(123,16,64,0.25);
}

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

.btn-secondary:hover {
    background: rgba(139,26,74,0.05);
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-light);
    color: white;
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--secondary);
    color: white;
}

.btn-gold:hover {
    background: var(--secondary-light);
    color: white;
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.btn-sm {
    padding: 6px var(--space-md);
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(123,16,64,0.15);
}

.card-body {
    padding: var(--space-lg);
}

/* Profile Card */
.profile-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition-slow);
    cursor: pointer;
}

.profile-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(139,26,74,0.2);
}

.profile-card-avatar {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #F5EEE8, #E8D5C4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.profile-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card-avatar .initial {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F9EFF5, #EDD5E4);
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary);
}

.verified-badge {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    background: var(--success);
    color: white;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-ui);
    display: flex;
    align-items: center;
    gap: 3px;
}

.profile-card-body {
    padding: var(--space-md);
}

.profile-card-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.profile-card-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.profile-card-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.profile-card-education {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: var(--space-xs);
}

.profile-card-footer {
    padding: var(--space-sm) var(--space-md) var(--space-md);
    border-top: 1px solid var(--border-light);
    margin-top: var(--space-sm);
}

/* ============================================================
   Forms
   ============================================================ */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.form-label .required {
    color: var(--error);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 10px var(--space-md);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: white;
    transition: var(--transition);
    outline: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123,16,64,0.12);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-control:disabled {
    background: var(--border-light);
    cursor: not-allowed;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B8A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: var(--space-xs);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* ============================================================
   Alert / Messages
   ============================================================ */
.alert {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.alert-error   { background: var(--error-light);   color: var(--error);   border-left: 4px solid var(--error); }
.alert-success { background: var(--success-light);  color: var(--success); border-left: 4px solid var(--success); }
.alert-warning { background: var(--warning-light);  color: var(--warning); border-left: 4px solid var(--warning); }

/* ============================================================
   Avatar
   ============================================================ */
.avatar {
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    background: linear-gradient(135deg, #F9EFF5, #EDD5E4);
    color: var(--primary);
    flex-shrink: 0;
}

.avatar-sm  { width: 36px;  height: 36px;  font-size: 0.9rem; }
.avatar-md  { width: 48px;  height: 48px;  font-size: 1.1rem; }
.avatar-lg  { width: 72px;  height: 72px;  font-size: 1.8rem; }
.avatar-xl  { width: 100px; height: 100px; font-size: 2.5rem; }
.avatar-2xl { width: 140px; height: 140px; font-size: 3.5rem; }

/* ============================================================
   Modal
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,26,46,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    padding: var(--space-lg) var(--space-xl) var(--space-md);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--border-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--error-light);
    color: var(--error);
}

.modal-body {
    padding: var(--space-lg) var(--space-xl);
}

.modal-footer {
    padding: var(--space-md) var(--space-xl) var(--space-lg);
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
}

/* ============================================================
   Filter Bar
   ============================================================ */
.filter-bar {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.filter-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    padding: var(--space-xs) 0;
}

.filter-row + .filter-row {
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-sm);
    margin-top: var(--space-xs);
}

.filter-label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 80px;
    white-space: nowrap;
}

.filter-select {
    padding: 6px 30px 6px 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-primary);
    background: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6B8A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    appearance: none;
    min-width: 140px;
    transition: var(--transition);
    outline: none;
}

.filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(139,26,74,0.1);
}

.filter-input {
    padding: 6px 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-primary);
    background: white;
    width: 90px;
    transition: var(--transition);
    outline: none;
}

.filter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(139,26,74,0.1);
}

.filter-input-wide {
    width: 150px;
}

.btn-fetch {
    padding: 5px 12px;
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--primary);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-fetch:hover {
    background: var(--primary);
    color: white;
}

.btn-verified {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: white;
    color: var(--text-secondary);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-verified.active {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

/* ============================================================
   Wallet
   ============================================================ */
.wallet-balance-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    color: white;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.wallet-balance-label {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: var(--space-sm);
}

.wallet-balance-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
}

.wallet-balance-subtitle {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-top: var(--space-xs);
}

.package-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.package-card:hover,
.package-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.package-card.popular {
    position: relative;
}

.package-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-ui);
    white-space: nowrap;
}

.package-coins {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.package-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: var(--space-xs) 0;
}

.package-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

/* ============================================================
   Transaction History
   ============================================================ */
.txn-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--border-light);
    margin-bottom: var(--space-sm);
}

.txn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.txn-icon.credit { background: var(--success-light); color: var(--success); }
.txn-icon.debit  { background: var(--error-light);   color: var(--error); }

.txn-desc {
    flex: 1;
}

.txn-desc-text { font-size: 0.9rem; font-weight: 500; }
.txn-desc-date { font-size: 0.78rem; color: var(--text-light); }

.txn-amount {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 700;
}

.txn-amount.credit { color: var(--success); }
.txn-amount.debit  { color: var(--error); }

/* ============================================================
   Chat
   ============================================================ */
.chat-list-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.chat-list-item:hover {
    background: rgba(139,26,74,0.03);
}

.chat-list-item .unread-badge {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    padding: 2px 7px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-ui);
}

.chat-window {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.message-bubble {
    max-width: 65%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-bubble.sent {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message-bubble.received {
    background: white;
    color: var(--text-primary);
    align-self: flex-start;
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 3px;
    text-align: right;
}

.chat-input-bar {
    padding: var(--space-md);
    border-top: 1px solid var(--border-light);
    background: white;
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 10px var(--space-md);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.chat-input:focus {
    border-color: var(--primary);
}

.btn-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139,26,74,0.3);
}

/* ============================================================
   Utilities
   ============================================================ */
.d-flex  { display: flex; }
.d-grid  { display: grid; }
.d-none  { display: none; }
.d-block { display: block; }

.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.w-full  { width: 100%; }
.h-full  { height: 100%; }

.rounded    { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.divider {
    height: 1px;
    background: var(--border-light);
    margin: var(--space-lg) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .container { padding: 0 var(--space-md); }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
    .form-row { grid-template-columns: 1fr; }
    .navbar-nav { gap: 0; }
    .navbar-nav .nav-link { padding: var(--space-xs); font-size: 0.8rem; }
    .navbar-nav .nav-text { display: none; }
    .filter-row { gap: var(--space-xs); }
    .filter-label { display: none; }
    .profile-card-avatar { height: 160px; }
    .modal { max-width: 100%; margin: var(--space-sm); }
}

@media (max-width: 480px) {
    .btn-lg { padding: 12px var(--space-lg); }
    .wallet-balance-amount { font-size: 2.5rem; }
}


/* ============================================================
   Scrollbar Polish
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ============================================================
   Selection Color
   ============================================================ */
::selection {
    background: rgba(123,16,64,0.15);
    color: var(--primary);
}

/* ============================================================
   Link hover polish
   ============================================================ */
a { transition: var(--transition); }

/* ============================================================
   Input placeholder polish
   ============================================================ */
::placeholder {
    color: var(--text-light);
    opacity: 1;
}

/* ============================================================
   Toast polish
   ============================================================ */
#toast {
    font-weight: 500;
    letter-spacing: 0.2px;
}
