/* Base Styles (Desktop First) */
.hero-section,
.login-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #fff;
    font-family: 'Arial', sans-serif;
    background-image: url('/btc_campaign/static/src/img/hero-bullion.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.hero-logo img {
    width: 350px;
    height: auto;
    max-width: 100%;
}

.text-gold {
    color: #FFD700;
}

/* Gold Gradient Button */
.bg-gold {
    background: linear-gradient(90deg, #d4af37, #f7d774);
    border: none;
    transition: all 0.3s ease;
}

.bg-gold:hover {
    background: linear-gradient(90deg, #b7962e, #e6c95e);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Overlay */
.hero-section::before,
.login-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #ddd;
}

/* Buttons */
.hero-buttons .btn-gold {
    background: linear-gradient(90deg, #FFD700, #FFC700);
    color: #0A2540;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero-buttons .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.5);
}

/* Floating Circles */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background-color: #FFD700;
    opacity: 0.3;
    animation: pulse 3s infinite;
}

/* Inputs */
.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    background: #fafafa;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .hero-logo img {
        width: 280px;
    }
}

@media (max-width: 768px) {

    .hero-section,
    .login-section {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons .btn-gold {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .floating-circle {
        display: none;
        /* نخفي الدواير للموبايل عشان ميبقاش زحمة */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-logo img {
        width: 200px;
    }

    .hero-buttons .btn-gold {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
    }
}

/* Mobile Responsive Sales Order Table */
@media (max-width: 768px) {
    .desktop-table {
        display: none !important;
    }
    
    .mobile-cards {
        display: block !important;
    }
    
    .order-card {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 15px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .order-card-header {
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .order-card-body {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .order-field {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
    }
    
    .order-field-label {
        font-weight: 600;
        color: #666;
        font-size: 14px;
    }
    
    .order-field-value {
        color: #333;
        font-size: 14px;
        text-align: right;
    }
    
    .order-number {
        font-weight: bold;
        color: #007bff;
        font-size: 16px;
    }
}

/* Desktop Table Layout */
@media (min-width: 769px) {
    .desktop-table {
        display: block !important;
    }
    
    .mobile-cards {
        display: none !important;
    }
}

/* Default hide mobile cards */
.mobile-cards {
    display: none;
}