/* ================================
   TEMA DE LOGIN - CALISTO
   Assistência Técnica + Lua de Júpiter
   ================================ */

:root {
    --calisto-primary: #8B5CF6;
    --calisto-secondary: #6D28D9;
    --calisto-light: #DDD6FE;
    --calisto-dark: #2D1B69;
    --tech-blue: #0891B2;
    --tech-cyan: #06B6D4;
}

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

html, body {
    height: 100%;
    width: 100%;
}

.login-body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #e94560 100%);
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    position: relative;
}

/* Efeito de partículas/estrelas ao fundo */
.login-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 60px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 50px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 10px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.login-content {
    width: 100%;
    max-width: 450px;
}

.login-form-wrapper {
    background: rgba(45, 27, 105, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: slideUp 0.6s ease-out;
}

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

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

.logo-text {
    font-size: 2.5rem;
    color: #DDD6FE;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    letter-spacing: 2px;
}

.logo-text i {
    animation: floatMoon 3s ease-in-out infinite;
}

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

.logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.login-form {
    margin-top: 30px;
}

.login-form .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.login-form .form-label i {
    margin-right: 8px;
    color: #06B6D4;
}

.login-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #06B6D4;
    color: #fff;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

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

.form-check {
    margin-top: 15px;
}

.form-check-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background: #06B6D4;
    border-color: #06B6D4;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(6, 182, 212, 0.25);
}

.form-check-label {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    margin-left: 8px;
    font-size: 0.95rem;
}

.btn-login {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #0891B2 0%, #06B6D4 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
    color: #fff;
}

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

.btn-login i {
    margin-right: 8px;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer small {
    font-size: 0.85rem;
}

a {
    color: #06B6D4;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0891B2;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 576px) {
    .login-form-wrapper {
        padding: 30px 20px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .logo-subtitle {
        font-size: 0.85rem;
    }

    .login-form .form-label {
        font-size: 0.9rem;
    }

    .btn-login {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
