/* Saucy Squad Customer Theme */

/* Customer Header */
.customer-header {
    background: var(--white);
    border-bottom: 3px solid var(--secondary-orange);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.customer-header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--secondary-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.customer-header .navbar-brand:hover {
    color: var(--dark-orange);
    transform: scale(1.05);
}

.customer-header .logo-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 2px solid var(--secondary-orange);
}

.customer-header .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.customer-header .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.customer-header .navbar-nav .nav-link:hover {
    color: var(--secondary-orange);
    background-color: var(--light-yellow);
    transform: translateY(-2px);
}

.customer-header .navbar-nav .nav-link.active {
    color: var(--secondary-orange);
    background-color: var(--light-yellow);
    font-weight: 600;
}

.cart-badge {
    background: var(--accent-red);
    color: var(--white);
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Customer Footer */
.customer-footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #34495e 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

/* Login Modal (shared) */
.login-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 2000; }
.login-modal { width: 520px; max-width: 92vw; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); padding: 2rem; text-align: center; position: relative; }
.login-modal h3 { margin: 0 0 0.5rem 0; font-weight: 800; }
.login-modal p { margin: 0 0 1.25rem 0; color: #666; }
.login-actions { display: flex; gap: 0.75rem; justify-content: center; }
.btn-primary-login { background: #FFD700; color: #1E40AF; font-weight: 700; border: none; border-radius: 10px; padding: 0.75rem 1.25rem; cursor: pointer; }
.btn-outline { background: transparent; border: 2px solid #e5e7eb; color: #374151; border-radius: 10px; padding: 0.75rem 1.25rem; cursor: pointer; }
.login-close { position: absolute; top: 10px; right: 14px; background: transparent; border: none; font-size: 1.25rem; cursor: pointer; }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.footer-brand h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-yellow);
}

.customer-footer h5 {
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 1rem;
}

.customer-footer ul li {
    margin-bottom: 0.5rem;
}

.customer-footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.customer-footer ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-orange);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Customer Forms */
.customer-form-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.customer-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,107,53,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,107,53,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,107,53,0.1)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

.customer-form-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: none;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.customer-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-orange) 100%);
}

.customer-form-header {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    border: none;
}

.customer-form-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.customer-form-body {
    padding: 2.5rem;
}

.customer-form-body .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.customer-form-body .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.customer-form-body .form-control:focus {
    border-color: var(--secondary-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    background: var(--white);
}

.customer-form-body .form-control::placeholder {
    color: #adb5bd;
}

.customer-form-body .btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Override Bootstrap primary buttons to match theme */
.btn-primary,
.customer-form-body .btn-primary {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    border: none;
    color: #1E40AF;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus,
.customer-form-body .btn-primary:hover,
.customer-form-body .btn-primary:focus {
    background: linear-gradient(135deg, #FF9800 0%, #FFC107 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    color: #1E40AF;
}

.btn-primary:active,
.customer-form-body .btn-primary:active {
    background: linear-gradient(135deg, #FF9800 0%, #FFC107 100%);
    transform: translateY(0);
}

/* Override Bootstrap outline primary buttons */
.btn-outline-primary,
.customer-form-body .btn-outline-primary {
    border: 2px solid #FFC107;
    color: #FF9800;
    background: transparent;
    font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.customer-form-body .btn-outline-primary:hover,
.customer-form-body .btn-outline-primary:focus {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    border-color: #FF9800;
    color: #1E40AF;
    transform: translateY(-2px);
}

/* Override Bootstrap info buttons to match theme */
.btn-info,
.bg-info {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%) !important;
    border: none;
    color: #1E40AF !important;
    font-weight: 600;
}

.btn-info:hover,
.btn-info:focus {
    background: linear-gradient(135deg, #FFC107 0%, #FFD700 100%) !important;
    color: #1E40AF !important;
    transform: translateY(-2px);
}

/* Override text-primary to use theme color */
.text-primary {
    color: #FF9800 !important;
}

/* Override bg-primary to use theme color */
.bg-primary {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%) !important;
    color: #1E40AF !important;
}

/* Override badge-primary */
.badge.bg-primary {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%) !important;
    color: #1E40AF !important;
}

.customer-form-body .btn-outline-primary:hover {
    background: var(--secondary-orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.customer-form-divider {
    border: none;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-orange) 100%);
    margin: 2rem 0;
    border-radius: 1px;
}

.customer-form-link {
    color: var(--secondary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.customer-form-link:hover {
    color: var(--dark-orange);
    text-decoration: underline;
}

/* Customer Home Page */
.customer-hero {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.customer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    animation: float 8s ease-in-out infinite;
}

.customer-hero-content {
    position: relative;
    z-index: 2;
}

.customer-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.customer-hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.customer-hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.customer-hero .btn {
    border-radius: 30px;
    font-weight: 700;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    margin: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.customer-hero .btn-primary {
    background: var(--white);
    color: var(--secondary-orange);
    border: 3px solid var(--white);
}

.customer-hero .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.customer-hero .btn-outline-primary {
    background: transparent;
    color: var(--white);
    border: 3px solid var(--white);
}

.customer-hero .btn-outline-primary:hover {
    background: var(--white);
    color: var(--secondary-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Feature Cards */
.customer-feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.customer-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-orange) 100%);
}

.customer-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.customer-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.customer-feature-card:hover .customer-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.customer-feature-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.customer-feature-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Stats Section */
.customer-stats {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.customer-stat-item {
    padding: 1.5rem;
}

.customer-stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-orange) 0%, var(--dark-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.customer-stat-label {
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Food Decorations */
.food-decoration {
    position: absolute;
    opacity: 0.1;
    font-size: 3rem;
    color: var(--secondary-orange);
    animation: float 4s ease-in-out infinite;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .customer-hero h1 {
        font-size: 2.5rem;
    }
    
    .customer-hero p {
        font-size: 1.1rem;
    }
    
    .customer-hero .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .customer-form-body {
        padding: 1.5rem;
    }
    
    .customer-feature-card {
        padding: 1.5rem;
    }
    
    .customer-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Loading States */
.customer-loading {
    position: relative;
    pointer-events: none;
}

.customer-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.customer-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--light-yellow);
    border-top: 3px solid var(--secondary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast Notifications */
.customer-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

.customer-toast .toast {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.customer-toast .toast-header {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px 10px 0 0;
}

.customer-toast .toast-body {
    background: var(--white);
    color: var(--text-dark);
    border-radius: 0 0 10px 10px;
}





