/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Nov 11, 2025, 9:11:14 AM
    Author     : rodysoft
*/

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
    transition: var(--transition);
}

.login-box:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #333;
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
}

.user-type-selector {
    display: flex;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    border: 2px solid #e1e1e1;
}

.user-type-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.user-type-btn.active {
    background: var(--primary);
    color: white;
}

.user-type-btn:hover:not(.active) {
    background: #e9ecef;
}
/* Enhanced Form Styles - Input Fields Only */
.login-form {
    margin-top: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-group input::placeholder {
    color: #a0a4a8;
}

/* Password Input with Toggle */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary);
    background: #f8f9fa;
}

.password-toggle:focus {
    outline: none;
    color: var(--primary);
}

/* Input States */
.form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc3545;
}
/* Back Link Styling */
.back-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.back-link a {
    color: #6c757d;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.back-link a:hover {
    color: var(--primary);
    text-decoration: none;
}
/*
.form-group input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #28a745;
}*/