:root{
--bg: #0f1720;            
--bg-2: #071029;      
--panel: rgba(255,255,255,0.04);
--accent: #4FC3F7;   
--accent-2: #01579B;   
--muted: #cbd5e1;
--glass: rgba(255,255,255,0.06);
--radius: 12px;
}

*{box-sizing:border-box}
html,body{height:100%; margin:0; padding:0; overflow-x:hidden;}
body{
font-family: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
background: #0f172a url('../../assets/img/background/background.jpg') center center;
background-size: cover; 
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
line-height:1.55;
}

.auth-container {
display: flex;
min-height: 100vh;
}

/* Video Section - 70% width */
.auth-video {
flex: 6;
position: relative;
overflow: hidden;
display: none;
}

@media (min-width: 992px) {
.auth-video {
display: block;
}
}

.video-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}

.video-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, rgba(7,16,41,0.85) 0%, rgba(7,16,41,0.5) 100%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 2rem;
text-align: center;
}

.video-content {
max-width: 600px;
z-index: 2;
}

.video-title {
font-family: 'Orbitron', sans-serif;
color: var(--accent);
font-size: 2.5rem;
margin-bottom: 1rem;
text-shadow: 0 0 15px rgba(79,195,247,0.3);
}

.video-subtitle {
color: var(--muted);
font-size: 1.1rem;
line-height: 1.6;
}

/* Auth Content - 30% width */
.auth-content {
flex: 4;
display: flex;
justify-content: center;
padding: 2rem;
min-height: 100vh;
overflow-y: auto;
}

.auth-panel {
width: 100%;
max-width: 500px;
background: linear-gradient(180deg, var(--panel), rgba(255,255,255,0.02));
border-radius: var(--radius);
padding: 2rem;
box-shadow: 0 10px 30px rgba(2,6,23,0.6);
border: 1px solid rgba(79,195,247,0.06);
position: relative;
}

.auth-header {
text-align: center;
margin-bottom: 1.5rem;
}

.logo {
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
margin-bottom: 1rem;
}

.logo-image {
width: 42px;
height: 42px;
border-radius: 50%;
object-fit: cover;
box-shadow: 0 0 15px rgba(79,195,247,0.3);
}

.logo-text {
font-family: 'Orbitron', sans-serif;
color: var(--accent);
font-size: 1.8rem;
text-shadow: 0 0 10px rgba(79,195,247,0.15);
}

.auth-title {
font-family: 'Orbitron', sans-serif;
color: var(--accent);
font-size: 1.5rem;
margin: 0 0 0.25rem;
}

.auth-subtitle {
margin: 0;
color: var(--muted);
font-size: 0.95rem;
}

/* Form Elements */
.auth-form {
display: flex;
flex-direction: column;
gap: 1rem;
}

.form-group {
margin-bottom: 0.5rem;
}

label {
display: block;
font-size: 0.9rem;
color: var(--muted);
margin-bottom: 0.375rem;
font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
width: 100%;
padding: .85rem 1rem;
border-radius: 0.75rem;
background: var(--glass);
border: 1px solid rgba(79,195,247,0.06);
color: #eaf6ff;
font-size: 0.98rem;
outline: none;
transition: box-shadow .18s ease, border-color .18s ease, transform .08s ease;
}

input:focus, select:focus, textarea:focus {
box-shadow: 0 6px 20px rgba(79,195,247,0.08);
border-color: var(--accent);
transform: translateY(-1px);
}

.btn {
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
color: white;
padding: .85rem 1.2rem;
border-radius: 999px;
border: none;
font-weight: 700;
cursor: pointer;
box-shadow: 0 8px 30px rgba(21,90,135,0.12);
transition: transform .12s ease, box-shadow .12s ease;
width: 100%;
margin-top: 0.5rem;
}

.btn:hover {
transform: translateY(-3px);
box-shadow: 0 12px 40px rgba(21,90,135,0.18);
}

.auth-links {
text-align: center;
margin-top: 1.5rem;
}

.auth-link {
color: var(--accent);
text-decoration: none;
font-size: 0.95rem;
cursor: pointer;
transition: color 0.2s ease;
display: block;
margin-bottom: 0.5rem;
}

.auth-link:hover {
text-decoration: underline;
}

.back-link {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
color: var(--muted);
text-decoration: none;
font-size: 0.9rem;
margin-top: 1rem;
cursor: pointer;
}

.back-link:hover {
color: var(--accent);
}

.muted {
color: var(--muted);
font-size: .9rem;
text-align: center;
margin-top: 1.5rem;
}

/* Form Views */
.form-views {
position: relative;
min-height: 500px; /* Further increased min-height to ensure buttons and back link are fully visible without scrolling or hiding */
}

.form-view {
position: absolute;
top: 0;
left: 0;
width: 100%;
opacity: 0;
transform: translateX(50px);
pointer-events: none;
transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-view.active {
opacity: 1;
transform: translateX(0);
pointer-events: all;
}

/* Message */
.message {
display: none;
padding: .85rem 1rem;
border-radius: 8px;
background: rgba(76,195,247,0.08);
color: #e6fbff;
border: 1px solid rgba(79,195,247,0.12);
font-weight: 600;
margin-bottom: 1rem;
text-align: center;
}

.message.show {
display: block;
}

.message.error {
background: rgba(247, 79, 79, 0.08);
color: #ffe6e6;
border-color: rgba(247, 79, 79, 0.12);
}

/* Responsive */
@media (max-width: 991px) {
.auth-container {
flex-direction: column;
}

.auth-video {
display: none;
}

.auth-content {
padding: 1.5rem;
flex: 1;
}

.auth-panel {
padding: 1.5rem;
}
}