/* Estilo para tela de login com efeito de nuvem */
.login-container {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Container das nuvens */
.clouds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Nuvem individual */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    opacity: 0.6;
    filter: blur(40px);
    animation: float linear infinite;
}

.cloud:before,
.cloud:after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
}

/* Nuvem 1 */
.cloud1 {
    width: 350px;
    height: 120px;
    top: 20%;
    left: -100px;
    animation-duration: 30s;
    animation-delay: 0s;
}

.cloud1:before {
    width: 200px;
    height: 200px;
    top: -90px;
    left: 50px;
}

.cloud1:after {
    width: 180px;
    height: 180px;
    top: -70px;
    right: 50px;
}

/* Nuvem 2 */
.cloud2 {
    width: 300px;
    height: 100px;
    top: 50%;
    right: -100px;
    animation-duration: 35s;
    animation-delay: 5s;
}

.cloud2:before {
    width: 150px;
    height: 150px;
    top: -60px;
    left: 40px;
}

.cloud2:after {
    width: 140px;
    height: 140px;
    top: -50px;
    right: 40px;
}

/* Nuvem 3 */
.cloud3 {
    width: 400px;
    height: 130px;
    bottom: 20%;
    left: 10%;
    animation-duration: 40s;
    animation-delay: 10s;
}

.cloud3:before {
    width: 220px;
    height: 220px;
    top: -100px;
    left: 60px;
}

.cloud3:after {
    width: 200px;
    height: 200px;
    top: -80px;
    right: 60px;
}

/* Nuvem 4 */
.cloud4 {
    width: 280px;
    height: 90px;
    top: 10%;
    right: 20%;
    animation-duration: 32s;
    animation-delay: 15s;
}

.cloud4:before {
    width: 140px;
    height: 140px;
    top: -55px;
    left: 35px;
}

.cloud4:after {
    width: 130px;
    height: 130px;
    top: -45px;
    right: 35px;
}

/* Nuvem 5 */
.cloud5 {
    width: 320px;
    height: 110px;
    bottom: 30%;
    right: -80px;
    animation-duration: 38s;
    animation-delay: 20s;
}

.cloud5:before {
    width: 170px;
    height: 170px;
    top: -75px;
    left: 45px;
}

.cloud5:after {
    width: 160px;
    height: 160px;
    top: -65px;
    right: 45px;
}

/* Animação de flutuação */
@keyframes float {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(50px) translateY(-20px);
    }
    50% {
        transform: translateX(100px) translateY(10px);
    }
    75% {
        transform: translateX(50px) translateY(20px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

/* Card de login */
.login-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 450px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

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

.login-card h1 {
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.login-card .subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #555;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

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

.alert-danger {
    background-color: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #fcc;
    font-size: 0.9rem;
}

.alert-info {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #bbdefb;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.btn-logout-link {
    background: #1976d2;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-logout-link:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

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

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

    .login-card h1 {
        font-size: 1.5rem;
    }

    .cloud {
        filter: blur(30px);
    }

    .cloud1, .cloud2, .cloud3, .cloud4, .cloud5 {
        width: 200px;
        height: 70px;
    }
}

