/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
}

/* Login container styles */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo styles */
.logo {
    margin-bottom: 2rem;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3ecf8e, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.logo p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Welcome text styles */
.welcome-text {
    margin-bottom: 2rem;
}

.welcome-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.welcome-text p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Google Identity Services styles */
.g_id_signin {
    width: 100% !important;
    margin-bottom: 1.5rem;
}

/* Custom styling for Google button */
.g_id_signin > div {
    width: 100% !important;
    border-radius: 12px !important;
    border: 2px solid #e5e7eb !important;
    transition: all 0.2s ease !important;
}

.g_id_signin > div:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;
    transform: translateY(-1px) !important;
}

/* Divider styles */
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    padding: 0 1rem;
}

/* Terms styles */
.terms {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.4;
    margin-top: 1rem;
}

.terms a {
    color: #3b82f6;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Message styles */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    display: none;
}

.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    display: none;
}

/* Responsive styles */
@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 2rem;
    }
}
