
body {
    background: linear-gradient(135deg, #1e3c25 0%, #2d5f3a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.login-header {
    background: linear-gradient(135deg, #2d5f3a 0%, #1e3c25 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.login-header .icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: pulse 1.5s infinite;
}

.login-header h2 {
    margin: 0;
    font-weight: 700;
}

.login-body {
    padding: 30px;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating .form-control:focus {
    border-color: #2d5f3a;
    box-shadow: 0 0 0 0.25rem rgba(45, 95, 58, 0.25);
}

.form-floating label {
    color: #666;
}

.form-control {
    height: 60px;
}

.btn-login {
    background: linear-gradient(135deg, #2d5f3a 0%, #1e3c25 100%);
    border: none;
    height: 50px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(45, 95, 58, 0.4);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 95, 58, 0.6);
}

.btn-login::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s;
    z-index: 0;
}

.btn-login:active::after {
    transform: scale(20);
}

.btn-login span {
    position: relative;
    z-index: 1;
}

.input-icon {
    position: absolute;
    top: 20px;
    right: 15px;
    color: #2d5f3a;
    z-index: 10;
}

.alert {
    border-radius: 10px;
    animation: shake 0.5s;
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link a {
    color: #2d5f3a;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.register-link a:hover {
    color: #1e3c25;
    text-decoration: underline;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% {transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {transform: translateX(-5px);}
    20%, 40%, 60%, 80% {transform: translateX(5px);}
}

.background-shapes div {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.shape1 {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 10%;
    animation: float 8s infinite;
}

.shape2 {
    width: 150px;
    height: 150px;
    right: 15%;
    top: 30%;
    animation: float 12s infinite;
}

.shape3 {
    width: 60px;
    height: 60px;
    left: 20%;
    bottom: 20%;
    animation: float 10s infinite;
}

.shape4 {
    width: 100px;
    height: 100px;
    right: 5%;
    bottom: 5%;
    animation: float 6s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}
