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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: #555;
}

a:hover {
    color: #c2185b;
}

/* ─── Header ──────────────────────────────────────────────────── */
.main-header {
    background: linear-gradient(135deg, #c2185b, #e91e63);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.site-logo-link {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 50px;
    max-width: 200px;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav a {
    color: white;
    font-weight: 500;
    opacity: 0.9;
    padding: 4px 10px;
}

.header-nav a:hover {
    opacity: 1;
    color: white;
}

/* ─── Golden Animated Buttons ──────────────────────────────── */
@keyframes goldenShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes goldenPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 193, 7, 0.4), 0 0 0 0 rgba(255, 193, 7, 0.3); }
    50% { box-shadow: 0 0 16px rgba(255, 193, 7, 0.6), 0 0 20px 4px rgba(255, 193, 7, 0.15); }
}

.golden-btn {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(90deg, #d4a017, #ffd700, #f0c040, #ffd700, #d4a017);
    background-size: 200% auto;
    color: #1a1a1a !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 25px;
    border: 2px solid #c8960c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 1 !important;
    animation: goldenShimmer 3s linear infinite, goldenPulse 2s ease-in-out infinite;
    transition: transform 0.2s, filter 0.2s;
    white-space: nowrap;
}

.golden-btn:hover {
    transform: scale(1.08);
    filter: brightness(1.15);
    color: #1a1a1a !important;
}

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

.header-menu-btn {
    display: inline-block;
    padding: 6px 18px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 6px;
    color: white !important;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.header-menu-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    color: white !important;
}

/* ─── Main Page: Locations ────────────────────────────────────── */
.locations-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.country-section {
    background: white;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.country-name {
    color: #c2185b;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f8bbd0;
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.state-block {
    min-width: 0;
}

.state-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.city-list {
    list-style: none;
}

.city-list li {
    padding: 2px 0;
}

.city-list li a {
    font-size: 0.88rem;
    color: #666;
}

.city-list li a:hover {
    color: #c2185b;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.main-footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 40px;
}

/* ─── Login Page ──────────────────────────────────────────────── */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.login-box {
    background: white;
    border-radius: 10px;
    padding: 40px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #c2185b;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-group input:focus {
    outline: none;
    border-color: #c2185b;
    box-shadow: 0 0 0 2px rgba(194, 24, 91, 0.15);
}

.error-msg {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: center;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary {
    background: #c2185b;
    color: white;
}

.btn-primary:hover {
    background: #ad1457;
}

.btn-secondary {
    background: #eee;
    color: #333;
}

.btn-secondary:hover {
    background: #ddd;
}

.btn-danger {
    background: #ef5350;
    color: white;
    padding: 5px 12px;
    font-size: 0.8rem;
}

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

.btn-edit {
    background: #42a5f5;
    color: white;
    padding: 5px 12px;
    font-size: 0.8rem;
}

.btn-edit:hover {
    background: #1e88e5;
}

.btn-sm {
    padding: 4px 10px;
    font-size: 0.78rem;
}

/* ─── Admin Sidebar Layout ───────────────────────────────────── */
.admin-body {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
}

.sidebar {
    width: 260px;
    min-height: 100vh;
    background: #1e1e2d;
    color: #9899ac;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s;
}

.sidebar-brand {
    padding: 20px 20px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-logo {
    font-size: 1.5rem;
    color: #c2185b;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.sidebar-section-label {
    padding: 20px 20px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #565674;
}

.sidebar-dropdown {
    padding: 0 10px;
}

.sidebar-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.92rem;
    color: #9899ac;
    transition: background 0.2s, color 0.2s;
}

.sidebar-dropdown-toggle:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.sidebar-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar-chevron {
    margin-left: auto;
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.sidebar-chevron.rotated {
    transform: rotate(-90deg);
}

.sidebar-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 10px;
}

.sidebar-dropdown-menu.open {
    max-height: 300px;
}

.sidebar-dropdown-menu .sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #9899ac;
    transition: background 0.2s, color 0.2s;
}

.sidebar-dropdown-menu .sidebar-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.sidebar-dropdown-menu .sidebar-link.active {
    color: #c2185b;
    background: rgba(194, 24, 91, 0.08);
}

.sidebar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1.5px solid #565674;
    display: inline-block;
    flex-shrink: 0;
}

.sidebar-dot.filled {
    background: #c2185b;
    border-color: #c2185b;
}

.sidebar-link.active .sidebar-dot {
    background: #c2185b;
    border-color: #c2185b;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 15px 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sidebar-bottom .sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #9899ac;
    transition: background 0.2s, color 0.2s;
}

.sidebar-bottom .sidebar-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

/* ─── Admin Main Content ─────────────────────────────────────── */
.admin-main {
    margin-left: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-topbar {
    background: #fff;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-topbar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #333;
}

/* ─── Admin Pages ────────────────────────────────────────────── */
.admin-page {
    display: none;
    padding: 25px 30px;
}

.admin-page.active {
    display: block;
}

.admin-page-header {
    margin-bottom: 20px;
}

.admin-page-header h2 {
    color: #c2185b;
    font-size: 1.25rem;
}

.admin-card {
    background: white;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.admin-card h3 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #555;
}

.inline-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.inline-form input,
.inline-form select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 180px;
}

.inline-form input:focus,
.inline-form select:focus {
    outline: none;
    border-color: #c2185b;
}

/* ─── Data Table ─────────────────────────────────────────────── */
.data-table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table thead {
    background: #f8f9fa;
}

.data-table th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid #eee;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.data-table tbody tr:hover {
    background: #fafafa;
}

.table-actions {
    display: flex;
    gap: 5px;
}

.empty-msg {
    color: #999;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* ─── Modal ───────────────────────────────────────────────────── */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    width: 400px;
    max-width: 90%;
}

.modal-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.modal-content input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* ─── Toast ───────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 2000;
    transition: opacity 0.3s;
}

.toast.success {
    background: #2e7d32;
}

.toast.error {
    background: #c62828;
}

.hidden {
    display: none !important;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-260px);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: block;
    }
}

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

    .inline-form {
        flex-direction: column;
    }

    .inline-form input,
    .inline-form select {
        width: 100%;
    }

    .header-content {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
    }

    .admin-page {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .states-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── User Auth Pages ────────────────────────────────────────── */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 420px;
    max-width: 95%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-title {
    text-align: center;
    color: #c2185b;
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.auth-subtitle {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.auth-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #ffcdd2;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
}

.auth-form .form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #c2185b;
    box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.12);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #c2185b, #e91e63);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 5px;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(194, 24, 91, 0.3);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #888;
    font-size: 0.9rem;
}

.auth-switch a {
    color: #c2185b;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ─── User Greeting in Header ────────────────────────────────── */
.user-greeting {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 8px;
}

.golden-btn-outline {
    background: transparent !important;
    border: 2px solid #ffd700 !important;
    color: #ffd700 !important;
    animation: goldenPulse 2s ease-in-out infinite;
}

.golden-btn-outline:hover {
    background: rgba(255, 215, 0, 0.15) !important;
    color: #ffd700 !important;
}

/* ─── User Dashboard ─────────────────────────────────────────── */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 70px);
    background: #f5f5f5;
}

.dashboard-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #c2185b, #ad1457, #880e4f);
    color: white;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.dash-user-info {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.dash-avatar {
    width: 68px;
    height: 68px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 12px;
    border: 3px solid rgba(255,255,255,0.3);
    color: #c2185b !important;
}

.dash-user-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.dash-user-info p {
    font-size: 0.8rem;
    color: #aaa;
}

.dash-nav {
    padding: 15px 0;
    flex: 1;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 2px 10px;
    border-radius: 10px;
    letter-spacing: 0.3px;
}

.dash-nav-item:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateX(4px);
}

.dash-nav-item.active {
    background: rgba(255,255,255,0.2);
    color: white !important;
    border-left: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.dash-icon {
    font-size: 1.1rem;
}

.dash-nav-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 10px 0;
}

.dashboard-main {
    flex: 1;
    padding: 30px 40px;
    background: #f5f5f5;
    overflow-y: auto;
}

.dashboard-main h2 {
    color: #2d0a1f;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 28px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.dashboard-main h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #c2185b, #e91e63);
    border-radius: 3px;
}

.dash-page {
    display: none;
}

.dash-page.active {
    display: block;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dash-stat-card {
    background: white;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(194,24,91,0.08);
    position: relative;
    overflow: hidden;
}
.dash-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c2185b, #e91e63);
    opacity: 0.6;
}

.dash-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #c2185b;
}

.dash-stat-label {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.dash-recent {
    background: white;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(194,24,91,0.08);
}

.dash-recent h3 {
    color: #333;
    margin-bottom: 18px;
    font-size: 1.15rem;
    font-weight: 700;
}

.dash-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.dash-empty p {
    margin-bottom: 5px;
}

.dash-profile-card {
    background: white;
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(194,24,91,0.08);
    max-width: 550px;
}

.dash-profile-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.dash-profile-row label {
    font-weight: 600;
    color: #555;
}

.dash-profile-row span {
    color: #333;
}

.dash-settings-section {
    background: white;
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(194,24,91,0.08);
    max-width: 550px;
}

.dash-settings-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.balance-card {
    background: linear-gradient(135deg, #c2185b, #ad1457) !important;
    color: white;
}

.balance-card .dash-stat-number {
    color: white;
    font-size: 2.4rem;
}

.balance-card .dash-stat-label {
    color: rgba(255,255,255,0.8);
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.dash-table th, .dash-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #333;
}

.dash-table th {
    color: #c2185b;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(194,24,91,0.04);
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-active {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-inactive {
    background: #fafafa;
    color: #999;
}

.dash-form-card {
    background: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(194,24,91,0.08);
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.post-edit-card {
    background: white;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.post-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.post-edit-header h3 {
    font-size: 1rem;
    color: #333;
}

.post-edit-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.btn-danger {
    background: #ef5350 !important;
    color: white !important;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-danger:hover {
    background: #d32f2f !important;
}

.repost-card {
    background: white;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.repost-info h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 4px;
}

.repost-info p {
    font-size: 0.85rem;
    color: #888;
}

/* ─── Post Form (Luxury Dark Gold Theme) ──────────────────── */
.post-form-wrapper {
    background: linear-gradient(135deg, #c2185b, #e91e63, #d81b60);
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 100%;
    box-shadow: 0 12px 48px rgba(194, 24, 91, 0.3), 0 0 60px rgba(233, 30, 99, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: clip;
    animation: luxuryFadeIn 0.8s ease-out;
}
.post-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: floatingGlow 8s ease-in-out infinite;
}
.post-form-wrapper > * {
    position: relative;
    z-index: 1;
}

.pf-label {
    display: block;
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

.pf-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(255,255,255,0.95);
    color: #1a1a2e;
    transition: border 0.3s, box-shadow 0.3s, transform 0.2s;
    box-sizing: border-box;
}

.pf-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

.pf-textarea {
    resize: vertical;
    min-height: 120px;
}

.pf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.pf-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 16px 14px 10px;
}

.pf-field {
    display: flex;
    flex-direction: column;
}

.pf-field-full {
    margin-bottom: 18px;
}

/* ─── Rich Text Editor ──────────────────────────────────────── */
.pf-rte-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px 12px 0 0;
    align-items: center;
}

.pf-rte-toolbar-bottom {
    border-radius: 0 0 12px 12px;
    border-top: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.rte-group {
    display: flex;
    gap: 3px;
    background: rgba(194, 24, 91, 0.08);
    border: 1px solid rgba(194, 24, 91, 0.15);
    border-radius: 10px;
    padding: 5px 6px;
    align-items: center;
}

.rte-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.15s, transform 0.1s;
}

.rte-btn:hover {
    background: rgba(194, 24, 91, 0.18);
    transform: scale(1.08);
}

.rte-select {
    height: 34px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 0.82rem;
    color: #333;
    padding: 0 8px;
}

.rte-select:hover {
    background: rgba(194, 24, 91, 0.12);
}

.pf-rte-editor {
    width: 100%;
    min-height: 280px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(255,255,255,0.95);
    color: #333;
    box-sizing: border-box;
    outline: none;
    overflow-y: auto;
    max-height: 500px;
    line-height: 1.6;
}

.pf-rte-editor:focus {
    box-shadow: 0 0 20px rgba(194, 24, 91, 0.35);
}

.pf-headline-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pf-headline-row .pf-input {
    flex: 1;
}

.pf-emoji-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.pf-emoji-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.pf-emoji-picker {
    margin-top: 8px;
    background: rgba(255,255,255,0.97);
    border-radius: 12px;
    padding: 12px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.3);
}

.pf-emoji-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
}

.pf-emoji-item {
    font-size: 1.5rem;
    cursor: pointer;
    text-align: center;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.15s, transform 0.15s;
    line-height: 1;
}

.pf-emoji-item:hover {
    background: rgba(194, 24, 91, 0.15);
    transform: scale(1.2);
}

.pf-phone-row {
    display: flex;
    gap: 8px;
}

.pf-phone-code {
    width: 200px !important;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.pf-phone-num {
    flex: 1;
}

.pf-submit-row {
    text-align: center;
    margin-top: 25px;
}

.pf-next-btn {
    background: linear-gradient(135deg, #d4af37, #f5d67b, #d4af37);
    color: #2d0a1f;
    border: none;
    padding: 14px 60px;
    font-size: 1.2rem;
    font-weight: 800;
    font-style: italic;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: goldButtonPulse 2s ease-in-out infinite;
}

.pf-next-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.5);
}

.pf-save-btn {
    background: linear-gradient(135deg, #d4af37, #f5d67b);
    color: #2d0a1f;
    border: none;
    padding: 10px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pf-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5);
}

.pf-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(76,175,80,0.3);
    font-weight: 500;
}

.pf-error {
    background: rgba(239, 83, 80, 0.15);
    color: #ef5350;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(239,83,80,0.3);
    font-weight: 500;
}

/* ─── Location Picker ───────────────────────────────────────────── */
.location-picker {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    max-height: 350px;
    overflow-y: auto;
}

.loc-title {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 12px;
}

.loc-btn {
    background: #2d0a1f;
    color: white;
    padding: 14px 18px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.loc-btn:hover {
    background: #c2185b;
    transform: translateX(4px);
}

.loc-back {
    color: #87ceeb;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.loc-back:hover {
    text-decoration: underline;
}

.loc-cities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.loc-city-item {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background 0.2s;
    text-align: center;
}

.loc-city-item:hover {
    background: #c2185b;
    color: #fff;
    font-weight: 600;
}

.loc-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-weight: 600;
}

.loc-change {
    color: #87ceeb;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
}

.loc-change:hover {
    text-decoration: underline;
}

/* ─── City Page ──────────────────────────────────────────────────── */
.city-breadcrumb-bar {
    background: linear-gradient(135deg, #c2185b, #e91e63, #d81b60);
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .city-breadcrumb-bar {
        padding: 8px 12px;
        gap: 4px;
    }
    .city-breadcrumb {
        gap: 4px;
    }
    .bc-link, .bc-current {
        font-size: 0.72rem;
    }
    .bc-sep {
        font-size: 0.75rem;
    }
}

.city-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.bc-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.bc-link:hover {
    text-decoration: underline;
}

.bc-sep {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.bc-current {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.city-menu-links {
    display: flex;
    gap: 15px;
}

.city-menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.city-menu-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.city-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    max-width: 350px;
}

.cat-btn {
    display: block;
    padding: 14px 32px;
    text-align: center;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cat-color), color-mix(in srgb, var(--cat-color) 70%, #000));
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cat-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.cat-btn:hover::before {
    opacity: 1;
}

.cat-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cat-btn-active {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

.cat-btn-1 { background: linear-gradient(135deg, #c62828, #e53935); }
.cat-btn-2 { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.cat-btn-3 { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.cat-btn-4 { background: linear-gradient(135deg, #6a1b9a, #ab47bc); }
.cat-btn-5 { background: linear-gradient(135deg, #e65100, #ff9800); }

@keyframes catShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.cat-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    background-size: 200% 100%;
    animation: catShimmer 3s infinite;
    border-radius: inherit;
    pointer-events: none;
}

.city-page-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

.city-page-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 4px;
}

.city-page-subtitle {
    color: #888;
    font-size: 1rem;
    margin-bottom: 25px;
}

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

.city-post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.city-post-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.city-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.city-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.city-post-badge {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.city-post-age {
    color: #888;
    font-size: 0.85rem;
}

.city-post-headline {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 8px;
}

.city-post-body {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.city-post-footer {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #999;
    flex-wrap: wrap;
}

.city-post-date {
    margin-left: auto;
}

.city-no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 1.1rem;
}

.city-no-posts .golden-btn {
    margin-top: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
    }
    .dashboard-main {
        padding: 20px;
    }
    .form-row, .pf-row, .pf-row-3 {
        grid-template-columns: 1fr;
    }
    .repost-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .post-form-wrapper {
        padding: 20px 16px;
    }
    .city-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Step Header ──────────────────────────────────────────────── */
.pf-step-header {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f5d67b;
    -webkit-text-fill-color: #f5d67b;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    padding-bottom: 12px;
}

.pf-step-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #f5d67b;
    border-radius: 2px;
}

/* ─── Step Progress Indicator ──────────────────────────────────── */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    padding: 0 10px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 70px;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, #f5d67b, #ffc107);
    color: #1a1a2e;
    border-color: #ffc107;
    box-shadow: 0 0 16px rgba(255,193,7,0.4);
}

.step-item.completed .step-circle {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: #fff;
    border-color: #4caf50;
    box-shadow: 0 0 10px rgba(76,175,80,0.3);
}

.step-label {
    margin-top: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 80px;
    line-height: 1.2;
}

.step-item.active .step-label {
    color: #f5d67b;
}

.step-item.completed .step-label {
    color: rgba(255,255,255,0.65);
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.15);
    margin: 0 4px;
    margin-bottom: 20px;
    min-width: 20px;
}

.step-line.completed {
    background: linear-gradient(90deg, #4caf50, #66bb6a);
}

@media (max-width: 600px) {
    .step-progress { padding: 0; gap: 0; }
    .step-item { min-width: 40px; flex: 1; }
    .step-circle { width: 28px; height: 28px; font-size: 0.75rem; }
    .step-label { font-size: 0.55rem; max-width: 52px; word-wrap: break-word; line-height: 1.2; }
    .step-line { margin: 0 2px; margin-bottom: 18px; }
}
@media (max-width: 400px) {
    .step-progress { padding: 0; gap: 0; }
    .step-item { min-width: 32px; flex: 1; }
    .step-circle { width: 24px; height: 24px; font-size: 0.7rem; }
    .step-label { font-size: 0.5rem; max-width: 44px; }
    .step-line { margin: 0 1px; margin-bottom: 16px; }
}

/* ─── Step 4: Post Published ───────────────────────────────────── */
.published-card {
    background: linear-gradient(135deg, #c2185b, #e91e63, #d81b60);
    border-radius: 20px;
    padding: 40px 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 48px rgba(194, 24, 91, 0.3);
    animation: luxuryFadeIn 0.8s ease-out;
    text-align: center;
}

.published-site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.published-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255,255,255,0.95);
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.published-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
}

.published-site-name {
    color: #fff;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.published-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 12px 28px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 28px;
    animation: goldButtonPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.published-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #4caf50;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
}

.published-post-preview {
    background: rgba(255,255,255,0.95);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.published-post-title {
    color: #2d0a1f;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.published-post-body {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 12px;
    max-height: 60px;
    overflow: hidden;
}

.published-post-meta {
    display: flex;
    gap: 16px;
    color: #888;
    font-size: 0.85rem;
}

.published-balance-display {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    padding: 16px 24px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.published-balance-label {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.published-balance-amount {
    color: #f5d67b;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    text-shadow: 0 0 20px rgba(245, 214, 123, 0.4);
}

.published-cost-info {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.published-link-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.published-link-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 600;
}

.published-link-url {
    color: #f5d67b;
    word-break: break-all;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

.published-link-url:hover {
    text-decoration: underline;
}

.published-copy-btn {
    padding: 6px 16px;
    background: linear-gradient(135deg, #d4af37, #f5d67b);
    color: #2d0a1f;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.published-copy-btn:hover {
    transform: scale(1.05);
}

.published-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.published-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #d4af37, #f5d67b);
    color: #2d0a1f;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: goldButtonPulse 2s ease-in-out infinite;
}

.published-view-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.5);
}

.published-new-btn {
    padding: 14px 32px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.published-new-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ─── Media Upload Grid ────────────────────────────────────────── */
.media-section {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: luxuryFadeIn 0.6s ease-out;
}
.media-section-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 4px;
}
.media-badge {
    display: inline-block;
    background: #d4af37;
    color: #2d0a1f;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 6px;
}
.media-hint {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.media-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.media-grid-small {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
}

.media-grid-3 {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.media-slot-sm {
    width: 80px;
    min-width: 80px;
    height: 80px;
    aspect-ratio: auto;
}

.media-slot-sm .media-slot-label {
    font-size: 0.55rem;
}

.media-slot-sm .media-slot-num {
    font-size: 0.9rem;
}
.media-slot {
    aspect-ratio: 1;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255,255,255,0.04);
    transition: border-color 0.3s, background 0.3s;
    overflow: hidden;
    position: relative;
}
.media-slot:hover {
    border-color: #f5d67b;
    background: rgba(255, 255, 255, 0.08);
}
.media-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-preview img,
.media-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.media-slot-label {
    color: #888;
    font-weight: 700;
    font-size: 0.75rem;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.3;
}
.media-slot-num {
    color: #666;
    font-size: 1.6rem;
    font-weight: 700;
}

/* ─── Back & Publish Buttons ───────────────────────────────────── */
.pf-back-btn {
    padding: 12px 28px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}
.pf-back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
.pf-publish-btn {
    padding: 12px 36px;
    background: linear-gradient(135deg, #d4af37, #f5d67b);
    color: #2d0a1f;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.4);
    transition: all 0.3s;
    letter-spacing: 1px;
    animation: buttonPulse 2s ease-in-out infinite;
}
.pf-publish-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(194, 24, 91, 0.6);
}

/* ─── Preview Ad Button ───────────────────────────────────── */
.pf-preview-btn {
    padding: 12px 28px;
    border: 2px solid #555;
    background: #fff;
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}
.pf-preview-btn:hover {
    background: #f0f0f0;
}

/* ─── Upgrade Cards ───────────────────────────────────── */
.upgrade-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.upgrade-card-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.upgrade-card-left {
    flex: 1;
}

.upgrade-card-right {
    flex-shrink: 0;
}

.upgrade-badge {
    display: inline-block;
    background: #4caf50;
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.upgrade-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin: 8px 0;
}

.upgrade-desc {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
    margin: 4px 0;
}

.upgrade-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 12px 0;
}

.upgrade-disclaimer {
    font-size: 0.78rem;
    color: #e53935;
    font-style: italic;
    line-height: 1.4;
    margin: 8px 0;
}

.upgrade-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    margin-top: 8px;
}

.upgrade-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ─── Checkout Card ───────────────────────────────────── */
.checkout-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fund-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fund-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(76,175,80,0.4);
}

@media (max-width: 600px) {
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .upgrade-card-inner {
        flex-direction: column;
    }
}

/* ─── LUXURY ANIMATIONS & EFFECTS ─────────────────────────────── */

@keyframes goldButtonPulse {
    0%, 100% {
        box-shadow: 0 4px 24px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 4px 32px rgba(212, 175, 55, 0.5), 0 0 60px rgba(245, 214, 123, 0.2);
    }
}

@keyframes gradientTextFlow {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

@keyframes shimmerLine {
    0% {
        width: 40px;
        opacity: 0.4;
    }
    50% {
        width: 120px;
        opacity: 1;
    }
    100% {
        width: 40px;
        opacity: 0.4;
    }
}

@keyframes luxuryFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes labelShimmer {
    0%, 100% {
        text-shadow: 0 0 10px rgba(233, 30, 99, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(233, 30, 99, 0.6), 0 0 40px rgba(194, 24, 91, 0.2);
    }
}

@keyframes stepGlow {
    0%, 100% {
        text-shadow: 0 0 15px rgba(233, 30, 99, 0.4);
        letter-spacing: 2px;
    }
    50% {
        text-shadow: 0 0 30px rgba(233, 30, 99, 0.7), 0 0 60px rgba(194, 24, 91, 0.3);
        letter-spacing: 3px;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 24px rgba(194, 24, 91, 0.3);
    }
    50% {
        box-shadow: 0 4px 32px rgba(194, 24, 91, 0.5), 0 0 60px rgba(233, 30, 99, 0.15);
    }
}

@keyframes floatingGlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(2%, -1%) rotate(1deg);
    }
    50% {
        transform: translate(-1%, 2%) rotate(-1deg);
    }
    75% {
        transform: translate(-2%, -1%) rotate(0.5deg);
    }
}

@keyframes borderPulse {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.15);
    }
    50% {
        border-color: rgba(255, 255, 255, 0.35);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmerBorder {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Form field staggered animation */
.pf-field,
.pf-field-full {
    animation: luxuryFadeIn 0.6s ease-out both;
}

.pf-row .pf-field:nth-child(1) { animation-delay: 0.1s; }
.pf-row .pf-field:nth-child(2) { animation-delay: 0.2s; }
.pf-row-3 .pf-field:nth-child(1) { animation-delay: 0.15s; }
.pf-row-3 .pf-field:nth-child(2) { animation-delay: 0.25s; }
.pf-row-3 .pf-field:nth-child(3) { animation-delay: 0.35s; }

/* Post form wrapper border animation */
.post-form-wrapper {
    animation: luxuryFadeIn 0.8s ease-out, borderPulse 4s ease-in-out infinite;
}

/* Dashboard sidebar nav items entrance */
.dash-nav-item {
    animation: slideInFromLeft 0.5s ease-out both;
}

.dash-nav-item:nth-child(1) { animation-delay: 0.05s; }
.dash-nav-item:nth-child(2) { animation-delay: 0.1s; }
.dash-nav-item:nth-child(3) { animation-delay: 0.15s; }
.dash-nav-item:nth-child(4) { animation-delay: 0.2s; }
.dash-nav-item:nth-child(5) { animation-delay: 0.25s; }
.dash-nav-item:nth-child(6) { animation-delay: 0.3s; }
.dash-nav-item:nth-child(7) { animation-delay: 0.35s; }

/* Dashboard stat cards animation */
.dash-stat-card {
    animation: fadeInScale 0.5s ease-out both;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dash-stat-card:nth-child(1) { animation-delay: 0.1s; }
.dash-stat-card:nth-child(2) { animation-delay: 0.2s; }
.dash-stat-card:nth-child(3) { animation-delay: 0.3s; }
.dash-stat-card:nth-child(4) { animation-delay: 0.4s; }

.dash-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(194,24,91,0.12);
    border-color: rgba(194,24,91,0.15);
}

/* Sidebar active item glow */
.dash-nav-item.active {
    position: relative;
}

.dash-nav-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.4);
    border-radius: 0 3px 3px 0;
}

/* Input hover effect */
.pf-input:hover {
    border-color: rgba(194, 24, 91, 0.4);
}

/* Post edit cards animation */
.post-edit-card {
    animation: luxuryFadeIn 0.5s ease-out both;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-edit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Repost card hover */
.repost-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.repost-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Dashboard page title animation */
.dashboard-main h2 {
    animation: luxuryFadeIn 0.6s ease-out;
}

/* Media slot hover animation */
.media-slot {
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.media-slot:hover {
    transform: scale(1.03);
}

/* Emoji button floating animation */
.pf-emoji-btn {
    transition: transform 0.3s, box-shadow 0.3s;
}

.pf-emoji-btn:hover {
    animation: subtleFloat 1s ease-in-out infinite;
}

/* User avatar glow animation */
.dash-avatar {
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
    animation: fadeInScale 0.6s ease-out;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dash-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255,255,255,0.5);
}

/* Smooth scrollbar for form */
.post-form-wrapper::-webkit-scrollbar {
    width: 6px;
}

.post-form-wrapper::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.post-form-wrapper::-webkit-scrollbar-thumb {
    background: rgba(194, 24, 91, 0.3);
    border-radius: 3px;
}

.post-form-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(194, 24, 91, 0.5);
}

/* Luxury shimmer overlay on form wrapper */
.post-form-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.03), transparent);
    animation: shimmerBorder 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Dashboard sidebar bottom border glow */
.dash-user-info {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.dash-nav-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* Form section smooth transitions */
.dash-page {
    transition: opacity 0.3s ease;
}

/* Profile card subtle animation */
.dash-profile-card,
.dash-settings-section,
.dash-form-card {
    animation: fadeInScale 0.5s ease-out;
    transition: box-shadow 0.3s;
}

.dash-profile-card:hover,
.dash-settings-section:hover,
.dash-form-card:hover {
    box-shadow: 0 4px 20px rgba(194,24,91,0.1);
}

/* Upgrade card hover animation */
.upgrade-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.upgrade-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* ─── Post Edit Card Redesign ─────────────────────────────────── */
.post-edit-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
    animation: luxuryFadeIn 0.5s ease-out both;
    border: 1px solid transparent;
}

.post-edit-card:nth-child(1) { animation-delay: 0.05s; }
.post-edit-card:nth-child(2) { animation-delay: 0.1s; }
.post-edit-card:nth-child(3) { animation-delay: 0.15s; }
.post-edit-card:nth-child(4) { animation-delay: 0.2s; }
.post-edit-card:nth-child(5) { animation-delay: 0.25s; }

.post-edit-card:hover {
    box-shadow: 0 4px 18px rgba(194,24,91,0.12);
    border-color: rgba(194,24,91,0.15);
}

.post-edit-card.post-edit-expanded {
    box-shadow: 0 6px 24px rgba(194,24,91,0.15);
    border-color: rgba(194,24,91,0.25);
}

/* Summary row (always visible) */
.post-edit-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.post-edit-summary:hover {
    background: rgba(194,24,91,0.04);
}

/* Thumbnail */
.post-edit-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2d0a1f, #1e0615);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.post-edit-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-edit-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.post-edit-thumb-placeholder span {
    font-size: 1.4rem;
    opacity: 0.7;
}

/* Post info */
.post-edit-info {
    flex: 1;
    min-width: 0;
}

.post-edit-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.post-edit-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #888;
}

.post-edit-city {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Right side - status + chevron */
.post-edit-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.post-edit-chevron {
    font-size: 0.75rem;
    color: #aaa;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Expandable details area */
.post-edit-details {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    border-top: 1px solid #f0f0f0;
    padding: 0 18px;
}

.post-edit-details form {
    padding: 18px 0;
}

/* Post Edit Header - remove old styles, use new summary */
.post-edit-card .post-edit-header {
    display: none;
}

@media (max-width: 600px) {
    .post-edit-summary {
        gap: 10px;
        padding: 12px 14px;
    }
    .post-edit-thumb {
        width: 44px;
        height: 44px;
    }
    .post-edit-title {
        font-size: 0.88rem;
    }
    .post-edit-meta {
        flex-direction: column;
        gap: 2px;
    }
}

/* ─── Quick Action Cards ─────────────────────────────────────── */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.quick-action-card {
    background: white;
    border: 1px solid rgba(194,24,91,0.08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInScale 0.5s ease-out both;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.quick-action-card:nth-child(1) { animation-delay: 0.05s; }
.quick-action-card:nth-child(2) { animation-delay: 0.1s; }
.quick-action-card:nth-child(3) { animation-delay: 0.15s; }
.quick-action-card:nth-child(4) { animation-delay: 0.2s; }
.quick-action-card:nth-child(5) { animation-delay: 0.25s; }
.quick-action-card:nth-child(6) { animation-delay: 0.3s; }

.quick-action-card:hover {
    border-color: rgba(194,24,91,0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(194,24,91,0.12);
}

.quick-action-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(194,24,91,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.quick-action-card:hover::after {
    opacity: 1;
}

.qa-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.qa-icon-wrap span {
    font-size: 1.4rem;
}

.qa-info {
    flex: 1;
    min-width: 0;
}

.qa-info h4 {
    color: #333;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 3px 0;
}

.qa-info p {
    color: #888;
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.3;
}

.qa-arrow {
    color: rgba(194,24,91,0.3);
    font-size: 1.5rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: color 0.3s, transform 0.3s;
}

.quick-action-card:hover .qa-arrow {
    color: #c2185b;
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Mobile Hamburger Menu ──────────────────────────────────── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        right: 12px;
        left: auto;
        width: 200px;
        background: linear-gradient(145deg, #1a1a2e, #2d1f3d) !important;
        flex-direction: column;
        padding: 8px 0;
        gap: 0;
        box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 15px rgba(212,175,55,0.2);
        border-radius: 14px;
        z-index: 100;
        border: 1px solid rgba(212,175,55,0.3);
        overflow: hidden;
    }

    .header-nav.nav-open {
        display: flex;
    }

    .header-nav a,
    .header-nav .golden-btn {
        display: block !important;
        width: 100% !important;
        padding: 13px 18px !important;
        border-bottom: 1px solid rgba(212,175,55,0.15) !important;
        color: #f5d67b !important;
        text-decoration: none !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        background: transparent !important;
        border-radius: 0 !important;
        text-align: left !important;
        box-sizing: border-box !important;
        letter-spacing: 0.5px !important;
        text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
        animation: none !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        transition: background 0.2s, padding-left 0.2s !important;
    }

    .header-nav a:active,
    .header-nav .golden-btn:active {
        background: rgba(212,175,55,0.15) !important;
        padding-left: 22px !important;
    }

    .header-nav a:last-child,
    .header-nav .golden-btn:last-child {
        border-bottom: none !important;
    }

    .header-nav .mobile-logout-link {
        color: #ff6b6b !important;
        border-bottom: none !important;
    }

    .header-nav .user-dropdown-wrap {
        display: none !important;
    }

    .header-content {
        position: relative;
        flex-direction: row !important;
    }

    .user-greeting {
        color: white;
        font-size: 0.9rem;
    }
}

/* ─── Search Section ─────────────────────────────────────────── */
.search-section {
    background: linear-gradient(135deg, #ad1457, #c2185b);
    padding: 20px;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    outline: none;
    transition: box-shadow 0.3s;
}

.search-input:focus {
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.search-input::placeholder {
    color: #999;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    margin-top: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 50;
}

.search-result-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #fce4ec;
    color: #c2185b;
}

.search-no-result {
    padding: 14px 20px;
    color: #999;
    text-align: center;
    font-size: 0.9rem;
}

/* ─── Improved Footer ────────────────────────────────────────── */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* ─── Lazy Load Images ───────────────────────────────────────── */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"][src] {
    opacity: 1;
}
