
:root {
--primary-blue: #1E429F;
--primary-orange: #FF6B35;
--light-blue: #EFF4FF;
--light-orange: #FFF4F0;
--dark-gray: #333333;
--medium-gray: #666666;
--light-gray: #F5F5F5;
--white: #FFFFFF;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body {
background-color: var(--light-gray);
color: var(--dark-gray);
}

.auth-container {
display: flex;
min-height: 100vh;
}

.auth-illustration {
flex: 1;
background: linear-gradient(135deg, var(--primary-blue) 0%, #0F2C7E 100%);
padding: 60px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
}

.auth-illustration::before {
content: '';
position: absolute;
top: -50px;
right: -50px;
width: 200px;
height: 200px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
}

.auth-illustration::after {
content: '';
position: absolute;
bottom: -80px;
left: -80px;
width: 300px;
height: 300px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.05);
}

.illustration-content {
max-width: 600px;
text-align: center;
z-index: 1;
color: var(--white);
}

.illustration-content h2 {
font-size: 2.5rem;
margin-bottom: 20px;
font-weight: 600;
}

.illustration-content p {
font-size: 1.1rem;
opacity: 0.9;
margin-bottom: 30px;
}

.illustration-img {
max-width: 100%;
height: auto;
margin-bottom: 30px;
animation: float 6s ease-in-out infinite;
}

@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}

.auth-form-container {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
padding: 40px;
}

.auth-form-wrapper {
max-width: 480px;
width: 100%;
background-color: var(--white);
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
padding: 50px;
position: relative;
overflow: hidden;
}

.auth-form-wrapper::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
}

.logo-container {
text-align: center;
margin-bottom: 30px;
}

.logo-container img {
max-height: 50px;
}

.back-home {
margin-top: 15px;
}

.back-home a {
color: var(--medium-gray);
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s;
}

.back-home a:hover {
color: var(--primary-blue);
}

.form-title {
font-size: 1.8rem;
font-weight: 600;
margin-bottom: 10px;
color: var(--primary-blue);
text-align: center;
}

.form-subtitle {
color: var(--medium-gray);
text-align: center;
margin-bottom: 30px;
font-size: 1rem;
}

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

.form-label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: var(--dark-gray);
}

.form-control {
width: 100%;
padding: 12px 16px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 1rem;
transition: all 0.3s;
}

.form-control:focus {
border-color: var(--primary-blue);
box-shadow: 0 0 0 3px rgba(30, 66, 159, 0.2);
outline: none;
}

.password-input-container {
position: relative;
}

.toggle-password {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
color: var(--medium-gray);
}

.form-options {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
}

.remember-me {
display: flex;
align-items: center;
}

.remember-me input {
margin-right: 8px;
}

.forgot-password a {
color: var(--primary-orange);
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s;
}

.forgot-password a:hover {
color: #e05a2c;
}

.btn {
display: inline-block;
padding: 12px 24px;
border-radius: 8px;
font-size: 1rem;
font-weight: 500;
text-align: center;
cursor: pointer;
transition: all 0.3s;
border: none;
width: 100%;
}

.btn-primary {
background-color: var(--primary-orange);
color: white;
}

.btn-primary:hover {
background-color: #e05a2c;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.divider {
display: flex;
align-items: center;
margin: 25px 0;
color: var(--medium-gray);
font-size: 0.9rem;
}

.divider::before, .divider::after {
content: '';
flex: 1;
height: 1px;
background-color: #ddd;
margin: 0 10px;
}

.social-login {
display: flex;
justify-content: center;
gap: 15px;
margin-bottom: 25px;
}

.social-btn {
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
border-radius: 8px;
border: 1px solid #ddd;
background-color: var(--white);
color: var(--dark-gray);
transition: all 0.3s;
width: 100%;
}

.social-btn:hover {
border-color: var(--primary-blue);
color: var(--primary-blue);
transform: translateY(-2px);
}

.social-btn img {
width: 20px;
margin-right: 8px;
}

.auth-footer {
text-align: center;
margin-top: 20px;
font-size: 0.9rem;
color: var(--medium-gray);
}

.auth-footer a {
color: var(--primary-orange);
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}

.auth-footer a:hover {
color: #e05a2c;
}

.alert {
padding: 12px 16px;
border-radius: 8px;
margin-bottom: 20px;
font-size: 0.9rem;
}

.alert-danger {
background-color: #FFF0F0;
color: #D32F2F;
border-left: 4px solid #D32F2F;
}

.input-error {
color: #D32F2F;
font-size: 0.85rem;
margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
.auth-container {
    flex-direction: column;
}

.auth-illustration {
    padding: 40px 20px;
}

.auth-form-container {
    padding: 40px 20px;
}

.auth-form-wrapper {
    padding: 30px;
}
}
