/* PlasmaSmart Login Page Styles */

.login-container {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.1);
    padding: 80px 60px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.login-logo {
    margin-bottom: 50px;
}

.login-logo h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Plasma Effect Styles */
.plasma-text {
    position: relative;
    display: inline-block;
}

.plasma-text::before {
    content: "PlasmaSmart";
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #ff61ea00, #fb00ff00, #ff8ef0, #bb1bff, #ef43ff00, #a600ff00);
    background-size: 200% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: plasmaGlow 2s ease-in-out;
    animation-delay: 0.5s;
    opacity: 0;
    filter: blur(0px);
}
@keyframes plasmaGlow {
    0% {
        background-position: -20% 0;
        opacity: 0.0;
        filter: blur(2px);
        text-shadow: 0 0 20px #a259ff88, 0 0 30px #ffabdc;
    }
    20% {
        opacity: 0.75;
        filter: blur(0.5px);
        text-shadow: 0 0 25px #a259ff99, 0 0 35px #ffabdc99;
    }
    50% {
        background-position: 100% 0;
        opacity: 1;
        filter: blur(0px);
        text-shadow: 0 0 30px #a259ffcc, 0 0 40px #ffabdc;
    }
    80% {
        opacity: 0.75;
        filter: blur(0.5px);
        text-shadow: 0 0 15px #a259ff66, 0 0 20px #ffabdc66;
    }
    100% {
        background-position: 120% 0;
        opacity: 0;
        filter: blur(2px);
        text-shadow: 0 0 0px #a259ff00, 0 0 0px #ffabdc00;
    }
}

.login-logo .app-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-top: 12px;
    font-weight: 400;
}

.siren-logo {
    margin-bottom: 30px;
}

.siren-logo img {
    max-width: 200px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.siren-logo img:hover {
    opacity: 1;
}

.login-header {
    margin-bottom: 50px;
}

.login-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.login-description {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 50px;
}

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 28px;
    background: #374151;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 16px;
}

.login-button:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    text-decoration: none;
}

.login-button:active {
    transform: translateY(0);
}

.microsoft-icon {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23"><path fill="%23f25022" d="M1 1h10v10H1z"/><path fill="%23ffb900" d="M12 1h10v10H12z"/><path fill="%2300a4ef" d="M1 12h10v10H1z"/><path fill="%23737373" d="M12 12h10v10H12z"/></svg>') no-repeat center;
    background-size: contain;
}

.login-footer {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.login-footer-text {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
}

.login-footer-text a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-footer-text a:hover {
    color: #374151;
}

.security-note {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    text-align: left;
}

.security-note h4 {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-note p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.security-icon {
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%23374151" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"/></svg>') no-repeat center;
    background-size: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 15px;
    }
    
    .login-card {
        padding: 60px 40px;
        max-width: 500px;
    }
    
    .login-logo h1 {
        font-size: 2.2rem;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .login-button {
        padding: 18px 24px;
        font-size: 1rem;
    }
    
    .siren-logo img {
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 40px 30px;
        border-radius: 15px;
        max-width: 400px;
    }
    
    .login-logo h1 {
        font-size: 1.8rem;
    }
    
    .login-header h2 {
        font-size: 1.3rem;
    }
    
    .siren-logo img {
        max-width: 140px;
    }
}

/* Loading state for button */
.login-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-button.loading:hover {
    transform: none;
    background: #374151;
}

/* Focus states for accessibility */
.login-button:focus {
    outline: 2px solid #374151;
    outline-offset: 2px;
}

.login-footer-text a:focus {
    outline: 2px solid #374151;
    outline-offset: 2px;
    border-radius: 3px;
}

/* Smooth page load animation */
.login-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}