:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-card: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    --border-color: #2a2a35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 1;
}

.login-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.logo-section h1 span {
    color: var(--accent-purple);
}

.logo-section p {
    color: var(--text-secondary);
    font-size: 14px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--text-secondary);
    font-size: 16px;
}

.input-wrapper input {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 44px 12px 44px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--text-primary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-top: -5px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-link {
    color: var(--accent-purple);
    text-decoration: none;
    transition: opacity 0.3s;
}

.forgot-link:hover {
    opacity: 0.8;
}

.login-btn {
    background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

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

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
}

.divider span {
    position: relative;
    background-color: var(--bg-card);
    padding: 0 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 20px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--accent-purple);
    background-color: rgba(139, 92, 246, 0.05);
}

.social-btn i {
    font-size: 18px;
}

.social-btn.google i {
    color: #ea4335;
}

.social-btn.microsoft i {
    color: #00a4ef;
}

.signup-link {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: var(--text-secondary);
}

.signup-link a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.signup-link a:hover {
    opacity: 0.8;
}

/* Background Decoration */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent);
    filter: blur(80px);
}

.circle-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -200px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent);
}

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

    .logo-section h1 {
        font-size: 28px;
    }
}
