.login-page-wrapper {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #1B5E20 100%);
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.login-wrapper {
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.login-container {
    max-width: 500px;
    width: 100%;
    animation: loginFadeInUp 0.8s ease-out;
}

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

.login-card {
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 213, 79, 0.1);
    border-radius: 50%;
}

.login-logo-container {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.login-logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #FFD54F;
    padding: 5px;
    background: white;
    animation: loginRotateIn 1s ease-out;
    object-fit: cover;
}

@keyframes loginRotateIn {
    from {
        opacity: 0;
        transform: rotate(-360deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.login-header h2 {
    color: #FFD54F;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.login-header p {
    color: white;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    margin: 0;
}

.login-form {
    padding: 50px 40px;
}

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

.welcome-text h3 {
    color: #1B5E20;
    font-weight: bold;
    margin-bottom: 10px;
}

.welcome-text p {
    color: #666;
    margin: 0;
}

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

.login-form-label {
    color: #1B5E20;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.login-form-label i {
    margin-right: 10px;
    color: #FFD54F;
    font-size: 1.2rem;
}

.login-form-control {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.login-form-control:focus {
    border-color: #FFD54F;
    box-shadow: 0 0 0 0.3rem rgba(255, 213, 79, 0.25);
    transform: translateY(-2px);
    outline: none;
}

.login-password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    cursor: pointer;
    color: #1B5E20;
    transition: all 0.3s ease;
    z-index: 10;
}

.login-password-toggle:hover {
    color: #FFD54F;
}

.login-btn-submit {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    color: #FFD54F;
    font-weight: bold;
    padding: 15px;
    border: none;
    width: 100%;
    font-size: 1.2rem;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(27, 94, 32, 0.4);
    margin-top: 10px;
    cursor: pointer;
}

.login-btn-submit:hover {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(27, 94, 32, 0.5);
    color: #FFD54F;
}

.login-alert-custom {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 15px 20px;
    margin-top: 20px;
    animation: loginSlideInDown 0.5s ease-out;
}

@keyframes loginSlideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-back-home {
    text-align: center;
    margin-top: 20px;
}

.login-back-home a {
    color: #1B5E20;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-back-home a:hover {
    color: #FFD54F;
}

/* Floating shapes animation */
.login-floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 213, 79, 0.1);
    animation: loginFloat 6s ease-in-out infinite;
    pointer-events: none;
}

.login-shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.login-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

.login-shape-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes loginFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .login-page-wrapper {
        padding-top: 70px;
    }
    
    .login-wrapper {
        padding: 20px 15px;
        min-height: calc(100vh - 70px);
    }
    
    .login-header {
        padding: 30px 20px;
    }
    
    .login-logo-img {
        width: 80px;
        height: 80px;
    }
    
    .login-header h2 {
        font-size: 2rem;
    }
    
    .login-header p {
        font-size: 1rem;
    }
    
    .login-form {
        padding: 30px 25px;
    }
    
    .welcome-text h3 {
        font-size: 1.3rem;
    }
    
    .welcome-text p {
        font-size: 0.95rem;
    }
    
    .login-btn-submit {
        font-size: 1.1rem;
        padding: 12px;
    }
    
    /* Hide floating shapes on mobile */
    .login-floating-shape {
        display: none;
    }
}

@media (max-width: 576px) {
    .login-page-wrapper {
        padding-top: 60px;
    }
    
    .login-wrapper {
        padding: 15px 10px;
        min-height: calc(100vh - 60px);
    }
    
    .login-container {
        max-width: 100%;
    }
    
    .login-card {
        border-radius: 20px;
    }
    
    .login-header {
        padding: 25px 15px;
    }
    
    .login-logo-img {
        width: 70px;
        height: 70px;
    }
    
    .login-header h2 {
        font-size: 1.8rem;
    }
    
    .login-header p {
        font-size: 0.9rem;
    }
    
    .login-form {
        padding: 25px 20px;
    }
    
    .welcome-text h3 {
        font-size: 1.2rem;
    }
    
    .login-form-group {
        margin-bottom: 20px;
    }
    
    .login-form-label {
        font-size: 0.95rem;
    }
    
    .login-form-label i {
        font-size: 1rem;
    }
    
    .login-form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .login-btn-submit {
        font-size: 1rem;
        padding: 12px;
    }
    
    .login-alert-custom {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
}

@media (max-width: 400px) {
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .login-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .login-form {
        padding: 20px 15px;
    }
    
    .welcome-text h3 {
        font-size: 1.1rem;
    }
}
