/* INTERSIGHT Login Page Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e5128 0%, #2d6a4f 50%, #40916c 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    margin: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.auth-header {
    background: linear-gradient(135deg, #1e5128 0%, #2d6a4f 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.auth-header .logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.auth-header .header-text {
    text-align: left;
}

.auth-body {
    padding: 2rem;
}

.nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    background: #1e5128;
    color: white;
    border-radius: 10px;
}

.form-control, select.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    background-color: white;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    background-image: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-control:focus, select.form-control:focus {
    border-color: #1e5128;
    box-shadow: 0 0 0 0.2rem rgba(30, 81, 40, 0.25);
    outline: 0;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%231e5128' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.btn-primary {
    background: linear-gradient(135deg, #1e5128 0%, #2d6a4f 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 500;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 81, 40, 0.3);
}

.alert {
    border-radius: 10px;
}

/* Password Toggle */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #1e5128;
}

.password-toggle .material-symbols-rounded {
    font-size: 20px;
}
