@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: #111827;
    color: #f9fafb;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.auth-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.auth-logo img {
    max-width: 150px;
    opacity: 0.8;
}

.auth-card {
    background-color: rgba(31, 41, 55, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.auth-card-header h2 {
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.auth-card-header p {
    color: #d1d5db;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-wrapper {
    position: relative;
}

.form-control {
    box-sizing: border-box;
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 8px;
    color: #f9fafb;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus {
    background-color: #1f2937;
    color: #f9fafb;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
    outline: none;
}

.btn-primary-auth {
    box-sizing: border-box;
    width: 100%;
    padding: 0.85rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(90deg, #8b5cf6, #6366f1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-google-auth {
    box-sizing: border-box;
    width: 100%;
    padding: 0.85rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #f9fafb;
    cursor: pointer;
    background-color: #374151;
    border: 1px solid #4b5563;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.2s ease;
}

.btn-google-auth:hover {
    background-color: #4b5563;
}

.auth-footer-link {
    margin-top: 1.5rem;
    color: #d1d5db;
}

.auth-footer-link a {
    color: #8b5cf6;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-footer-link a:hover {
    color: #a78bfa;
    text-decoration: underline;
}

.invalid-feedback {
    color: #f87171;
    font-size: 0.875rem;
    text-align: left;
    margin-top: 0.25rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-label {
    color: #d1d5db;
}

.form-check a {
    color: #8b5cf6;
    text-decoration: none;
    margin-left: auto; 
}

.form-check a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
}
