/* ============================================================================
   TECTORIS FILE PORTAL - LOGIN PAGE STYLES
   ============================================================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.btn-login {
    height: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #6a3f92 100%);
}

.btn-login:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.login-footer p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.alert {
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* ============================================================================
   PASSWORD TOGGLE STYLES
   ============================================================================ */

.password-wrapper {
    position: relative;
    display: block;
}

.password-wrapper .form-control {
    padding-right: 3.5rem !important;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    border: none;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    padding: 0;
    z-index: 10;
}

.password-toggle:hover {
    color: #667eea;
    background: transparent;
}

.password-toggle:focus {
    outline: none;
    color: #667eea;
    box-shadow: none;
}

.password-toggle:active {
    background: transparent;
}

.password-toggle i {
    font-size: 1.25rem;
    pointer-events: none;
}
