body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
}

.wave-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #104837 0%, #EC9800 100%);
    z-index: -2;
    overflow: hidden;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1200px);
    }
}

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

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 14px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateX(-5px);
}

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

.logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #104837, #EC9800);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.welcome-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

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

.form-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    position: relative;
}

.form-control:focus {
    border-color: #104837;
    box-shadow: 0 0 0 3px rgba(16, 72, 55, 0.1);
    outline: none;
    transform: translateY(-2px);
    background: #fff;
}

.form-control::placeholder {
    color: #adb5bd;
    transition: all 0.3s ease;
}

.form-control:focus::placeholder {
    opacity: 0;
    transform: translateX(10px);
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #104837;
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
}

.form-check-input {
    margin-right: 8px;
}

.form-check-label {
    font-size: 14px;
    color: #666;
}

.btn-primary {
    width: 100%;
    padding: 10px;
    /* background: linear-gradient(135deg, #104837 0%, #EC9800 100%); */
    background: #104837;
    border: none;
    border-radius: 12px;
    color: #EC9800;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 72, 55, 0.3);
    background: linear-gradient(135deg, #0d3f30 0%, #d18700 100%);
}

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

/* Floating label animation */
.floating-label {
    position: relative;
}

.floating-label .form-control:focus + .floating-label-text,
.floating-label .form-control:not(:placeholder-shown) + .floating-label-text {
    transform: translateY(-25px) scale(0.8);
    color: #104837;
}

.floating-label-text {
    position: absolute;
    left: 20px;
    top: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    color: #adb5bd;
    font-size: 14px;
    background: white;
    padding: 0 5px;
}

@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
        margin: 10px;
    }

    .back-button {
        top: 20px;
        left: 20px;
    }
}

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

.login-card {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
