.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

[data-theme="light"] .login-page {
    background: linear-gradient(135deg, #f6f7fb 0%, #e9ecef 100%);
}

.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.1;
    animation: twinkle 5s infinite;
}

[data-theme="light"] .stars-background {
    display: none;
}

@keyframes twinkle {
    0% { opacity: 0.1; }
    50% { opacity: 0.2; }
    100% { opacity: 0.1; }
}

.login-container {
    width: 100%;
    max-width: 480px;
    margin: auto;
}

.login-box {
    background: rgba(28, 28, 45, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .login-box {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.login-logo img {
    height: 48px;
    width: auto;
}

.login-box h1 {
    color: #fff;
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
}

[data-theme="light"] .login-box h1 {
    color: #2d3436;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 32px;
    font-size: 14px;
}

[data-theme="light"] .login-subtitle {
    color: rgba(45, 52, 54, 0.6);
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="light"] .social-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: #2d3436;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .social-btn:hover {
    background: #f8f9fa;
}

.social-btn img {
    width: 20px;
    height: 20px;
}

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

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 80px);
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .divider::before,
[data-theme="light"] .divider::after {
    background: rgba(0, 0, 0, 0.1);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    padding: 0 16px;
}

[data-theme="light"] .divider span {
    color: rgba(45, 52, 54, 0.4);
}

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

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 14px;
}

[data-theme="light"] .form-group label {
    color: rgba(45, 52, 54, 0.8);
}

.password-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
}

[data-theme="light"] .form-group input {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: #2d3436;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .form-group input::placeholder {
    color: rgba(45, 52, 54, 0.3);
}

.login-submit {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

.signup-link {
    text-align: center;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

[data-theme="light"] .signup-link {
    color: rgba(45, 52, 54, 0.6);
}

.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 4px;
}

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

[data-theme="light"] .github-btn img {
    filter: brightness(0);
} 