* {
    font-family: "Baloo Bhaijaan 2", cursive !important;
}

body {
    background: linear-gradient(135deg, #c8d0cc 0%, #a3ada4 100%);
    min-height: 100vh;
}

html {
    background-color: #a3ada4;
}

.login-container {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff7f50, #fa683b);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

.login-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.login-icon {
    font-size: 4rem;
    color: #ff7f50;
    margin-bottom: 1rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: #ff7f50;
    box-shadow: 0 0 0 0.2rem rgba(255, 127, 80, 0.25);
    background-color: white;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-floating label {
    color: #666;
}

.btn-custom {
    background: linear-gradient(135deg, #ff7f50, #fa683b);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 0.2rem rgba(255, 127, 80, 0.25);
    background: linear-gradient(135deg, #ff7f50, #fa683b);
}

.social-btn {
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    position: relative;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #333;
    text-decoration: none;
}

.google-btn {
    border-color: #dadce0;
}

.google-btn:hover {
    border-color: #4285f4;
    background-color: #f8f9fa;
}

.facebook-btn {
    border-color: #dadce0;
}

.facebook-btn:hover {
    background-color: #1877f2;
    color: white !important;
}

.facebook-btn:hover .facebook-icon {
    color: white !important;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.facebook-icon {
    color: #1877f2;
    font-size: 1.5rem;
    font-weight: bold;
}

.forgot-password-link {
    color: #ff7f50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.forgot-password-link:hover {
    color: #fa683b;
    text-decoration: underline;
}

.signup-link {
    color: #ff7f50;
    text-decoration: none;
    font-weight: 600;
}

.signup-link:hover {
    color: #fa683b;
    text-decoration: underline;
}

.divider {
    margin: 2rem 0;
    position: relative;
    text-align: center;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e9ecef;
}

.divider span {
    background-color: white;
    color: #666;
    position: relative;
    top: -5px;
    padding: 0 1rem;
    font-size: 0.9rem;
}

.benefits-note {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 1.5rem;
    border-left: 4px solid #4caf50;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ff7f50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .social-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}
