/* ===== Auth Pages CSS ===== */
/* Login & Register Styling */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.login-wrapper .card {
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.login-wrapper .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.login-wrapper .header {
    text-align: center;
    margin-bottom: 36px;
}

.login-wrapper .logo {
    justify-content: center;
    margin-bottom: 24px;
}

.login-wrapper .logo-img {
    height: 60px;
}

.login-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-wrapper p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.input-field {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-darker);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.3s;
}

.input-field::placeholder {
    color: var(--text-muted);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.password-wrapper {
    position: relative;
}

.password-wrapper .input-field {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.toggle-password:hover {
    opacity: 1;
}

/* Form Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    font-size: 14px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-wrapper input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.forgot-pass {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-pass:hover {
    color: var(--secondary);
}

/* Submit Button */
.login-wrapper .btn-primary {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider span {
    padding: 0 16px;
}

/* Register Link */
.register-link {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
}

.register-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.register-link a:hover {
    color: var(--secondary);
}

/* Copyright */
.copyright {
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

/* Particle Animation Script */
/* Added via JS */