/* Authentication Pages Styles */

.auth-body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--steel-blue) 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.auth-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    align-items: center;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blueprint-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: blueprintShift 20s linear infinite;
}

@keyframes blueprintShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.construction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(59, 179, 113, 0.1) 0%, transparent 50%);
}

.auth-content {
    position: relative;
    z-index: 10;
    padding: 3rem;
    max-width: 450px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-brand {
    font-size: 2.5rem;
    color: var(--bright-white);
    margin-bottom: 0.5rem;
    font-family: var(--font-headlines);
}

.auth-tagline {
    color: var(--concrete-gray);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.auth-title {
    color: var(--safety-orange);
    font-size: 1.8rem;
    margin-bottom: 0;
    font-family: var(--font-data);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--bright-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--bright-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--safety-orange);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
    padding: 14px;
    font-size: 1.1rem;
    font-family: var(--font-data);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background-color: rgba(59, 179, 113, 0.15);
    border: 1px solid rgba(59, 179, 113, 0.3);
    color: var(--emerald-green);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
}

.auth-footer p {
    color: var(--concrete-gray);
    font-size: 0.9rem;
}

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

.auth-footer a:hover {
    color: var(--bright-white);
}

/* Visual Side */
.auth-visual {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.command-center-preview {
    position: relative;
    width: 400px;
    height: 500px;
}

.dashboard-mockup {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(15, 20, 25, 0.9) 100%);
    border-radius: 12px;
    border: 2px solid var(--safety-orange);
    padding: 1.5rem;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.dash-header {
    height: 60px;
    background: linear-gradient(90deg, var(--safety-orange) 0%, var(--emerald-green) 100%);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    position: relative;
}

.dash-header::after {
    content: 'PARTISPIN COMMAND CENTER';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bright-white);
    font-family: var(--font-data);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.dash-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: calc(100% - 75px);
}

.dash-module {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.dash-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--safety-orange);
}

.voter-sim::after {
    content: 'VOTER\ASIMULATOR';
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--bright-white);
    font-family: var(--font-data);
    font-size: 0.7rem;
    font-weight: 600;
}

.debate-sim::after {
    content: 'DEBATE\ATRAINER';
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--bright-white);
    font-family: var(--font-data);
    font-size: 0.7rem;
    font-weight: 600;
}

.brief::after {
    content: 'DAILY\ABRIEFING';
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--bright-white);
    font-family: var(--font-data);
    font-size: 0.7rem;
    font-weight: 600;
}

.ops::after {
    content: 'FIELD\AOPS';
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--bright-white);
    font-family: var(--font-data);
    font-size: 0.7rem;
    font-weight: 600;
}

.console-glow-effect {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, var(--safety-orange), var(--emerald-green), var(--safety-orange));
    border-radius: 16px;
    z-index: -1;
    animation: consoleGlow 3s ease-in-out infinite;
}

@keyframes consoleGlow {
    0%, 100% { 
        opacity: 0.6;
        filter: blur(8px);
    }
    50% { 
        opacity: 0.9;
        filter: blur(12px);
    }
}

/* Module Animation */
.dash-module {
    animation: moduleFlicker 4s ease-in-out infinite;
}

.dash-module:nth-child(1) { animation-delay: 0s; }
.dash-module:nth-child(2) { animation-delay: 0.5s; }
.dash-module:nth-child(3) { animation-delay: 1s; }
.dash-module:nth-child(4) { animation-delay: 1.5s; }

@keyframes moduleFlicker {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.7; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .auth-visual {
        display: none;
    }
    
    .auth-content {
        max-width: 500px;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .auth-content {
        padding: 1.5rem;
    }
    
    .auth-form {
        padding: 2rem;
    }
    
    .auth-brand {
        font-size: 2rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}