* { 
    box-sizing: border-box; 
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    padding: 0; 
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.auth-form {
    margin: 20px 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
}

.auth-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-btn.primary {
    background: #6366f1;
    color: white;
}

.auth-btn.primary:hover {
    background: #5856eb;
}

.auth-links {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-links a {
    color: #6366f1;
    text-decoration: none;
    font-size: 14px;
}

.auth-links a:hover {
    text-decoration: underline;
}

.divider {
    margin: 24px 0;
    position: relative;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 16px;
    color: #6b7280;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 48px;
    margin-bottom: 10px;
}

h1 {
    color: #495057;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #6c757d;
    margin-bottom: 40px;
    font-size: 16px;
}

.login-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin: 15px 0;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.google-btn {
    background: #4285f4;
    color: white;
}

.google-btn:hover {
    background: #357ae8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.github-btn {
    background: #333;
    color: white;
}

.github-btn:hover {
    background: #24292e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
}

.flash-messages {
    margin-bottom: 20px;
}

.flash-message {
    padding: 10px 15px;
    border-radius: 8px;
    margin: 10px 0;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
