body {
    background-image: url('/image/mantu-background.jpg');
    background-size: 100% 120vh;
    height: 100vh;
    margin: 0;
    background-repeat: no-repeat;
    background-position: center calc(50% + 0px);
    background-attachment: fixed;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
}

.toggle-password img {
    width: 20px;
    height: 20px;
}

.register-link {
    margin-top: 1rem;
    font-size: 14px;
    color: #333;
}

.register-link a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover {
    text-decoration: underline;
}


/* Home footer style */
.app-footer {
    border-top: 1px solid #fff; /* white border */
    height: 60px;               /* adjust to match header height */
    background: transparent;    /* or white if you prefer */
}

body.home-page .app-footer {
    display: block;
}

.dashboard-card.disabled {
    opacity: 0.4;
    filter: grayscale(100%);
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        background-position: center calc(50% + 0px);
        background-size: 100% 110vh;
    }
    
    .password-container {
        margin-bottom: 10px;
    }
    
    .toggle-password {
        right: 12px;
    }
    
    .toggle-password img {
        width: 18px;
        height: 18px;
    }
    
    .register-link {
        font-size: 13px;
        margin-top: 0.8rem;
    }
}

@media (max-width: 480px) {
    body {
        background-position: center -20px;
    }
    
    .toggle-password img {
        width: 16px;
        height: 16px;
    }
    
    .register-link {
        font-size: 12px;
    }
}

/* ===== ENHANCED INTERACTIVITY ===== */
.toggle-password {
    transition: all 0.3s ease;
}

.toggle-password:hover {
    transform: translateY(-50%) scale(1.1);
}

.toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

.register-link a {
    transition: all 0.3s ease;
    position: relative;
}

.register-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007BFF;
    transition: width 0.3s ease;
}

.register-link a:hover::after {
    width: 100%;
}