body {
    min-height: 100vh;
    /* background: linear-gradient(135deg, #1976d2 0%, #43cea2 100%); */
    font-family: "Segoe UI", Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    width: 100%;
    max-width: 410px;
    background: rgba(255, 255, 255, 0.97);
    padding: 38px 32px 32px 32px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.18),
        0 1.5px 6px rgba(67, 206, 162, 0.1);
    position: relative;
    overflow: hidden;
}
.login-container::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #43cea2 0%, #1976d2 100%);
    border-radius: 50%;
    opacity: 0.18;
    z-index: 0;
}
.login-container h2 {
    text-align: center;
    margin-bottom: 28px;
    color: #1976d2;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 1;
    position: relative;
}
.form-group {
    margin-bottom: 22px;
    z-index: 1;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #1976d2;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid #e3eafc;
    border-radius: 8px;
    font-size: 16px;
    background: #f7fafc;
    transition: border 0.2s;
}
.form-group input:focus {
    border-color: #43cea2;
    outline: none;
    background: #fff;
}
.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(90deg, #1976d2 60%, #43cea2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-login:hover {
    background: linear-gradient(90deg, #1565c0 60%, #2bc4ad 100%);
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.13);
}
.form-footer {
    text-align: center;
    margin-top: 18px;
    z-index: 1;
    position: relative;
}
.form-footer a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.form-footer a:hover {
    color: #43cea2;
    text-decoration: underline;
}
.text-danger {
    font-size: 15px;
    margin-top: 4px;
}
.brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}
.brand-logo svg {
    width: 54px;
    height: 54px;
    fill: #1976d2;
    filter: drop-shadow(0 2px 8px #43cea233);
}
@media (max-width: 500px) {
    .login-container {
        padding: 24px 8px 18px 8px;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    vertical-align: middle;
}
.switch input {
    display: none;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #28a745; /* Green */
}
input:not(:checked) + .slider {
    background-color: #888; /* Grey */
}
input:checked + .slider:before {
    transform: translateX(22px);
}
.tooltip-wrapper {
    position: relative;
    cursor: pointer;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    background-color: #000000;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    font-size: 14px;
    white-space: nowrap;
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.active-tooltip {
    background-color: #ff0000;
}

.inactive-tooltip {
    background-color: #009b3b;
}

.tooltip-top {
    bottom: 100%; /* Tooltip appears above */
    margin-bottom: 8px;
}

.tooltip-bottom {
    top: 100%; /* Tooltip appears below */
    margin-top: 8px;
}
