:root {
    --primary-color: #00f0ff;
    --secondary-color: #ff00ff;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
}

.login-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

.login-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 50px 60px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
}

.login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.login-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 40px;
}

.login-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.glow-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.login-tabs {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-radius: 25px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-item {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.tab-item.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 255, 0.2));
}

.tab-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
}

.login-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-label i {
    color: var(--primary-color);
    font-size: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
}

.captcha-wrapper input {
    flex: 1;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

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

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: bold;
}

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

.forgot-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.btn-login {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.4);
}

.btn-register {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .login-card {
        padding: 30px 25px;
    }
    
    .login-title {
        font-size: 32px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
