:root {
    --primary: #ff6f61;
    --primary-dark: #e85d50;
    --text-dark: #222;
    --text-light: #555;
    --background: #f8f9fa;
    --radius: 12px;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    margin: 1rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: var(--primary);
    margin: 0;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius);
    font-size: 1rem;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    text-align: center;
}

.social-login {
    margin-top: 2rem;
    text-align: center;
}

.divider {
    position: relative;
    margin: 1rem 0;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(0,0,0,0.1);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius);
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-google:hover {
    background: #f8f9fa;
}

 .success-message {
    background: #dcfce7;
    color: #166534;
    padding: 0.75rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    text-align: center;
}