* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(26, 58, 107, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 58, 107, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.glow-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #1a3a6b, transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #F6AA2E, transparent);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.orb3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #153557, transparent);
    bottom: 10%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

.digital-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.scan-line {
    position: fixed;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F6AA2E, transparent);
    animation: scan 4s linear infinite;
    z-index: 5;
    opacity: 0.4;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.hexagon-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
    background-image: 
        repeating-linear-gradient(0deg, #1a3a6b 0px, transparent 1px, transparent 60px),
        repeating-linear-gradient(60deg, #1a3a6b 0px, transparent 1px, transparent 60px),
        repeating-linear-gradient(120deg, #1a3a6b 0px, transparent 1px, transparent 60px);
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #F6AA2E;
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.left-panel {
    text-align: center;
    padding: 40px;
}

.logo-container {
    background: rgba(26, 58, 107, 0.1);
    border: 2px solid #1a3a6b;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(26, 58, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #1a3a6b, #F6AA2E, #1a3a6b);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.5; }
}

.logo-placeholder {
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #F6AA2E;
    font-weight: 900;
    box-shadow: none;
    border: none;
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 0 18px rgba(246, 170, 46, 0.35));
}

.system-title {
    color: #FAFBFB;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(246, 170, 46, 0.6);
    letter-spacing: 3px;
}

.system-subtitle {
    color: #F6AA2E;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.login-panel {
    background: linear-gradient(135deg, 
        rgba(250, 251, 251, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 25%,
        rgba(240, 245, 250, 0.95) 50%,
        rgba(230, 240, 255, 0.9) 75%,
        rgba(250, 251, 251, 0.95) 100%);
    border: 2px solid #1a3a6b;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(26, 58, 107, 0.4), 
                0 0 100px rgba(246, 170, 46, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    backdrop-filter: blur(10px);
}

.corner-decoration {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #F6AA2E;
}

.corner-decoration.top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.corner-decoration.top-right {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
}

.corner-decoration.bottom-left {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
}

.corner-decoration.bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    color: #1a3a6b;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(246, 170, 46, 0.3);
}

.input-group {
    margin-bottom: 30px;
    position: relative;
}

.input-label {
    color: #F6AA2E;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(250, 251, 251, 0.6) 0%,
        rgba(240, 245, 250, 0.8) 50%,
        rgba(250, 251, 251, 0.6) 100%);
    border: 2px solid #1a3a6b;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(26, 58, 107, 0.1);
}

.input-container:focus-within {
    border-color: #F6AA2E;
    box-shadow: 0 0 20px rgba(246, 170, 46, 0.3);
}

.input-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(26, 58, 107, 0.15) 0%,
        rgba(21, 53, 87, 0.2) 50%,
        rgba(26, 58, 107, 0.15) 100%);
    border-right: 2px solid #1a3a6b;
    color: #F6AA2E;
    font-size: 18px;
}

input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: #1E2737;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    outline: none;
    font-weight: 600;
}

input::placeholder {
    color: rgba(26, 58, 107, 0.4);
}

.biometric-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.biometric-btn {
    flex: 1;
    padding: 15px;
    background: linear-gradient(135deg, 
        rgba(250, 251, 251, 0.8) 0%,
        rgba(240, 245, 250, 0.9) 50%,
        rgba(250, 251, 251, 0.8) 100%);
    border: 2px solid #264D8B;
    border-radius: 10px;
    color: #264D8B;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(38, 68, 139, 0.1);
}

.biometric-btn:hover {
    background: linear-gradient(135deg, 
        rgba(246, 170, 46, 0.2) 0%,
        rgba(255, 190, 92, 0.3) 50%,
        rgba(246, 170, 46, 0.2) 100%);
    border-color: #F6AA2E;
    box-shadow: 0 0 15px rgba(246, 170, 46, 0.4);
    color: #F6AA2E;
}

.login-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #F6AA2E, #FFBE5C);
    border: none;
    border-radius: 10px;
    color: #1E2737;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(246, 170, 46, 0.5);
}

.login-btn:disabled {
    cursor: wait;
    opacity: 0.85;
    transform: none;
    box-shadow: none;
}

.login-btn:disabled::before {
    display: none;
}

.security-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F6AA2E, #FFBE5C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E2737;
    font-size: 10px;
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 0 20px rgba(246, 170, 46, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.alert-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    animation: fadeIn 0.3s ease;
}

.alert-error {
    background: linear-gradient(135deg, rgba(255, 100, 100, 0.2), rgba(255, 150, 150, 0.3));
    border: 1px solid #ff4444;
    color: #ff4444;
}

.alert-success {
    background: linear-gradient(135deg, rgba(100, 255, 100, 0.2), rgba(150, 255, 150, 0.3));
    border: 1px solid #44ff44;
    color: #44ff44;
}

.alert-info {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.2), rgba(99, 179, 237, 0.3));
    border: 1px solid #4299e1;
    color: #90cdf4;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .left-panel {
        display: none;
    }
}