/* ==================== */
/*     LOGIN PAGE       */
/* ==================== */

* {
    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;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

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

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

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

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

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

.discord-btn {
    background: #5865F2;
    opacity: 0.5;
    cursor: not-allowed;
}

.github-btn {
    background: #24292e;
    opacity: 0.5;
    cursor: not-allowed;
}

.oauth-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.oauth-btn svg {
    width: 24px;
    height: 24px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
}

.info h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.info ul {
    list-style: none;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.info li::before {
    content: '✓ ';
    color: #667eea;
    font-weight: bold;
    margin-right: 5px;
}

.back-link {
    margin-top: 20px;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.back-link a:hover {
    text-decoration: underline;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.error-message.show {
    display: block;
}

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #999;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    margin: 0 10px;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-footer span {
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }

    .logo {
        font-size: 40px;
    }

    h1 {
        font-size: 24px;
    }

    .oauth-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
