.login-module-visible { display: block !important; }
.login-module-hidden { display: none !important; }

/* ============================================
   Toggle Switch Styles (Uniform Across All Modules)
   ============================================ */

/* The switch container */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Checked state */
input:checked + .slider {
    background-color: #10c469;
}

input:focus + .slider {
    box-shadow: 0 0 1px #10c469;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Disabled state */
input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Status labels */
.status-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 70px;
    text-align: center;
}

.status-label.active {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-label.inactive {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Hover effects */
.switch:hover .slider {
    background-color: #b3b3b3;
}

input:checked + .slider:hover {
    background-color: #0ea85a;
}

/* Animation */
@keyframes togglePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.switch input:checked + .slider:before {
    animation: togglePulse 0.3s ease-in-out;
} 