/* ===== Login Page Styles ===== */

.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    background: radial-gradient(circle at center, #1a1c4b 0%, #05051e 100%);
}

.login-container {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.login-card {
    background: rgba(15, 16, 53, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Glow effect */
.login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.login-header h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
}

.login-header p {
    color: var(--body-text);
    font-size: 0.95rem;
}

.login-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group label i {
    margin-right: 8px;
    opacity: 0.8;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px;
    /* Space for eye icon */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 38px;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--body-text);
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 16px;
    width: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.checkbox-container:hover .checkmark {
    border-color: var(--primary);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #fff;
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
}

.login-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--body-text);
    position: relative;
    z-index: 1;
}

.login-footer a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}