/* Datei: portal.css */
/* Kundenportal Styles – Dark Theme mit Gold-Akzenten */

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #13131a;
    --bg-card-hover: #1a1a25;
    --bg-input: #1e1e2a;
    --primary-gold: #d4af37;
    --gold-light: #f0d060;
    --gold-dim: rgba(212, 175, 55, 0.15);
    --text-main: #e8e8f0;
    --text-muted: #8888a0;
    --success: #2dd4a8;
    --danger: #ff4d6a;
    --warning: #ffaa33;
    --border: rgba(255, 255, 255, 0.08);
    --font-body: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) var(--bg-dark);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
}

/* ================================ */
/*         AUTH SCREEN              */
/* ================================ */
.auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1025 50%, #0a0a1a 100%);
    padding: 20px;
}

.auth-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow), 0 0 60px rgba(212, 175, 55, 0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.auth-header h1 i {
    margin-right: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.auth-tab.active {
    background: var(--primary-gold);
    color: #000;
    font-weight: 600;
}

.auth-tab:hover:not(.active) {
    background: var(--gold-dim);
    color: var(--text-main);
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.auth-form label i {
    margin-right: 6px;
    color: var(--primary-gold);
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
}

.auth-form input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.error-msg {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 12px;
    text-align: center;
}

.back-link {
    display: block;
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: 20px;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-gold);
}

/* ================================ */
/*         DASHBOARD                */
/* ================================ */
.dashboard {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-gold);
}

.sidebar-header h2 i {
    margin-right: 8px;
}

.mobile-menu-icon {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-badge {
    background: var(--gold-dim);
    color: var(--primary-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-badge.vip {
    background: rgba(45, 212, 168, 0.15);
    color: var(--success);
}

.user-badge.admin {
    background: rgba(255, 77, 106, 0.15);
    color: var(--danger);
}

.sidebar-nav {
    list-style: none;
    padding: 15px 0;
    flex: 1;
}

.sidebar-nav li {
    padding: 14px 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.sidebar-nav li:hover {
    background: var(--gold-dim);
    color: var(--text-main);
}

.sidebar-nav li.active {
    background: var(--gold-dim);
    color: var(--primary-gold);
    border-left-color: var(--primary-gold);
    font-weight: 600;
}

.sidebar-nav li i {
    width: 22px;
    margin-right: 12px;
    text-align: center;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.sidebar-user {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.sidebar-user i {
    color: var(--primary-gold);
    margin-right: 8px;
}

.btn-logout {
    width: 100%;
    padding: 10px;
    background: rgba(255, 77, 106, 0.1);
    border: 1px solid rgba(255, 77, 106, 0.2);
    border-radius: 8px;
    color: var(--danger);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: rgba(255, 77, 106, 0.2);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px 40px;
    min-height: 100vh;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem; /* Vergrößert von 1.8rem */
    color: var(--text-main);
    margin-bottom: 8px;
}

.page-header h1 i {
    color: var(--primary-gold);
    margin-right: 10px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.05rem; /* Vergrößert von 0.9rem */
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Vorher 220px */
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-gold);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
}

/* ================================ */
/*    OVERVIEW SECTIONS (coupons/wins) */
/* ================================ */
.overview-section {
    margin-bottom: 30px;
}

.overview-section h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 16px;
}

.overview-section h2 i {
    color: var(--primary-gold);
    margin-right: 10px;
}

/* Coupon Cards */
.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Vorher 250px */
    gap: 15px;
}

.coupon-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--gold-light));
}

.coupon-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.coupon-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.coupon-card-header i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.coupon-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.coupon-code {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-input);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.coupon-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.coupon-meta i {
    margin-right: 4px;
}

/* Win Cards */
.wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Vorher 300px */
    gap: 15px;
}

.win-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.win-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success), #10b981);
}

.win-card:hover {
    border-color: rgba(45, 212, 168, 0.3);
    transform: translateY(-2px);
}

.win-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.win-header i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.win-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.win-coupon {
    background: var(--gold-dim);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.win-coupon i {
    color: var(--primary-gold);
    margin-right: 6px;
}

.win-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.win-date i {
    margin-right: 6px;
}

/* ================================ */
/*         ORDER FORM               */
/* ================================ */
.order-form-container {
    max-width: 100%; /* Vorher: max-width: 900px; */
}

.form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px; /* Vorher 28px - mehr "Luft" zum Atmen */
    margin-bottom: 30px;
}

.form-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem; /* Vergrößert von 1.2rem */
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-num {
    width: 36px; /* Vergrößert von 30px */
    height: 36px; /* Vergrößert von 30px */
    background: var(--primary-gold);
    color: #000;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem; /* Vergrößert von 0.85rem */
    font-family: var(--font-body);
}

.property-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Vorher 250px - macht Karten breiter */
    gap: 20px;
    max-height: 600px; /* Mehr Platz nach unten */
    overflow-y: auto;
    padding-right: 10px;
}

.prop-select-card {
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.prop-select-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.prop-select-card.selected {
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.prop-select-card.vip-exclusive {
    border-color: rgba(45, 212, 168, 0.3);
}

.prop-select-card.vip-exclusive:hover {
    border-color: var(--success);
}

.prop-select-card img {
    width: 100%;
    height: 180px; /* Vorher 130px - zeigt die Immobilien besser */
    object-fit: cover;
}

.prop-select-info {
    padding: 12px;
}

.prop-select-info .address {
    font-weight: 600;
    font-size: 1.1rem; /* Vorher 0.9rem */
    margin-bottom: 6px;
}

.prop-select-info .prices {
    color: var(--primary-gold);
    font-size: 0.8rem;
}

.prop-select-info .vip-tag {
    display: inline-block;
    background: rgba(45, 212, 168, 0.15);
    color: var(--success);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 5px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem; /* Vorher 0.8rem */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group label i {
    color: var(--primary-gold);
    margin-right: 5px;
}

.form-control {
    width: 100%;
    padding: 16px 20px; /* Vorher 13px 16px - macht Eingabefelder höher */
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.05rem; /* Vorher 0.95rem */
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.1);
}

select.form-control {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

select.form-control option {
    background: var(--bg-dark);
    color: var(--text-main);
}

/* Price Preview */
.price-preview {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.price-preview h4 {
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.price-preview h4 i {
    margin-right: 8px;
}

.price-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.price-line.discount {
    color: var(--success);
}

.price-line.discount span:last-child {
    font-weight: 600;
}

.price-line.total {
    border-bottom: none;
    padding-top: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.btn-lg {
    padding: 16px;
    font-size: 1.05rem;
    margin-top: 10px;
}

/* ================================ */
/*         ORDERS LIST              */
/* ================================ */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.order-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.order-card img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.order-info {
    flex: 1;
}

.order-info .order-address {
    font-weight: 600;
    margin-bottom: 4px;
}

.order-info .order-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.order-prices {
    text-align: right;
}

.order-prices .final-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.order-prices .base-price {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: line-through;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(255, 170, 51, 0.15);
    color: var(--warning);
}

.status-accepted {
    background: rgba(45, 212, 168, 0.15);
    color: var(--success);
}

.status-rejected {
    background: rgba(255, 77, 106, 0.15);
    color: var(--danger);
}

/* ================================ */
/*         GIVEAWAYS                */
/* ================================ */
.giveaways-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); /* Vorher 320px */
    gap: 20px;
}

.giveaway-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s;
}

.giveaway-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.giveaway-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.giveaway-card .gw-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.giveaway-card .gw-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.gw-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.gw-meta-item i {
    color: var(--primary-gold);
}

.gw-prize {
    background: var(--gold-dim);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.gw-prize i {
    color: var(--primary-gold);
    margin-right: 8px;
}

.btn-participate {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.btn-participate:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-participate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    background: var(--bg-input);
    color: var(--text-muted);
}

/* ================================ */
/*         VIP SECTION              */
/* ================================ */
.vip-crown {
    color: var(--primary-gold) !important;
    animation: crownPulse 2s ease-in-out infinite;
}

@keyframes crownPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
    }
}

.vip-section {
    margin-bottom: 40px;
}

.vip-section h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.vip-section h2 i {
    color: var(--primary-gold);
    margin-right: 10px;
}

.vip-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); /* Vorher 350px */
    gap: 20px;
}

.vip-event-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.vip-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--gold-light), var(--primary-gold));
}

.vip-event-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.vip-event-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.vip-event-content {
    padding: 20px;
}

.vip-event-content h3 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.vip-event-content h3 i {
    margin-right: 8px;
}

.vip-event-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.vip-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.82rem;
}

.vip-event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.vip-event-meta i {
    color: var(--primary-gold);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: rgba(212, 175, 55, 0.3);
    display: block;
}

/* Success toast */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--success);
    border-radius: 10px;
    padding: 16px 24px;
    color: var(--success);
    font-weight: 600;
    z-index: 9999;
    animation: slideIn 0.4s ease, fadeOut 0.4s ease 2.6s forwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.toast.error {
    border-color: var(--danger);
    color: var(--danger);
}

.toast i {
    margin-right: 8px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ================================ */
/*         RESPONSIVE               */
/* ================================ */
@media (max-width: 768px) {
    .sidebar {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        padding-bottom: 0;
        margin-left: 0;
        z-index: 1000;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .sidebar-header {
        padding: 15px 20px;
        position: relative;
        z-index: 101;
        background: var(--bg-card);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-icon {
        display: block !important;
        color: var(--primary-gold);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .sidebar-nav {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        animation: slideDown 0.3s ease forwards;
        margin-top: 0;
        padding: 0;
    }

    .sidebar-nav.active {
        display: flex !important;
    }

    .sidebar-nav li {
        padding: 15px 24px;
        border-left: none !important;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .sidebar-nav li.active {
        border-left: none !important;
        background: var(--gold-dim);
        border-bottom: 1px solid var(--primary-gold);
    }

    .sidebar-footer {
        display: none !important;
        padding: 20px;
        background: var(--bg-card);
        border-top: none;
        border-bottom: 1px solid var(--border);
    }

    .sidebar-footer.active {
        display: block !important;
    }

    .dashboard {
        flex-direction: column;
    }

    .main-content {
        margin-left: 0 !important;
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .property-select-grid {
        grid-template-columns: 1fr;
    }

    .order-card {
        flex-direction: column;
        text-align: center;
    }

    .order-prices {
        text-align: center;
    }

    .vip-events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .giveaways-list {
        grid-template-columns: 1fr;
    }

    .coupons-grid {
        grid-template-columns: 1fr;
    }

    .wins-grid {
        grid-template-columns: 1fr;
    }

    .auth-container {
        padding: 24px;
    }
}