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

body {
    font-family: 'Chewy', cursive;
    background-image: url('../img/Fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    overflow: hidden;
    animation: fadeIn 2s ease-in-out;
}

/* Animação de entrada */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.character {
    position: absolute;
    width: 100px;
    animation: floatY 4s ease-in-out infinite;
    z-index: 0;
    opacity: 0.9;
}

.character img {
    width: 100%;
    height: auto;
}

/* Posição individual de cada personagem */
.lilo {
    bottom: 30px;
    left: 40px;
}

.stitch {
    bottom: 30px;
    right: 40px;
}

/* Animação de flutuação */
@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Container de login com fundo translúcido */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    z-index: -1;
}

/* Caixa de login */
.login-box {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    border: 2px solid #fff;
    animation: float 6s ease-in-out infinite;
}

/* Animação flutuante */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Logo do sistema */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container h1 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px #000;
}

/* Inputs */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 1px #000;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #fff;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.4);
    color: #333;
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #f39c12;
    background-color: #fff;
}

/* Botão de login */
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f43ff4, #103ac5);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.login-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #00b7ff, #ff00ff);
}

/* Avisos */
.alert {
    color: white;
    background-color: rgba(220, 53, 69, 0.8);
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

/* Texto de informação */
.demo-info {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px 1px #000;
}

/* Responsivo */
@media (max-width: 768px) {
    .login-box {
        padding: 30px;
    }

    .logo-container h1 {
        font-size: 22px;
    }
}
