/* Custom styles for the e-commerce application */

/* General styles */
body {
    background-color: #f9fafb;
    min-height: 100vh;
}

/* Navigation styles */
.nav-link {
    transition: color 0.2s ease-in-out;
}

.nav-link:hover {
    color: #ffc220;
}

/* Card styles */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Button styles */
.btn-primary {
    background-color: #041e42;
    border-color: #041e42;
    color: white;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0a2e5c;
    border-color: #0a2e5c;
}

.btn-secondary {
    background-color: #ffc220;
    border-color: #ffc220;
    color: #041e42;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ffcf4d;
    border-color: #ffcf4d;
}

/* Form styles */
.form-control:focus {
    border-color: #041e42;
    box-shadow: 0 0 0 0.2rem rgba(4, 30, 66, 0.25);
}

/* Flash message styles */
.flash {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cart badge */
.cart-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ffc220;
    color: #041e42;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Auth pages */
.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.auth-title {
    color: #041e42;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Profile page */
.profile-section {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.profile-heading {
    color: #041e42;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

/* Checkout process */
.checkout-step {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: bold;
}

.step-active .step-number {
    background-color: #041e42;
    color: white;
}

.step-complete .step-number {
    background-color: #10b981;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }
} 