html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* REMOVE sticky footer/flex layout */
html, body {
    height: auto;
}

main {
    min-height: 95vh;
}

body {
    /* Remove flex and min-height */
}

.wrapper {
    /* Remove min-height and flex */
}

.content {
    /* Remove flex */
}

.footer {
    /* Remove flex-shrink and keep only visual styles */
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding-top: 0.5rem;
}

/* Full page gradient background and centering */
.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.login-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: 
        linear-gradient(to right, rgba(15,32,39,0.7), rgba(32,58,67,0.7), rgba(44,83,100,0.7)),
        url('/img/BG.jpg') center center / cover no-repeat;
    filter: blur(5px);
    pointer-events: none;
}

/* Card styling */
.login-card {
    background-color: #1a1a2e;
    border-radius: 12px;
    padding: 40px 30px;
    color: white;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

    /* Input field styling */
    .login-card .form-control {
        background-color: #0f3460;
        border: none;
        color: white;
    }

        .login-card .form-control::placeholder {
            color: #ccc;
        }

        .login-card .form-control:focus {
            background-color: #0f3460;
            color: white;
            border-color: #00b4d8;
            box-shadow: 0 0 0 0.25rem rgba(0, 180, 216, 0.25);
        }

.login-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100px;
    height: auto;
    position: relative;
    z-index: 1;
}


/* Prevent table header and cell wrapping, add ellipsis for long text */
.table th, .table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

    .table td .badge, .table th .badge {
        font-size: 0.95em;
        font-weight: 500;
    }

.applicant-tooltip {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transition: opacity 0.15s;
    font-size: 0.97rem;
    pointer-events: none;
}

.applicant-hover-group:hover .applicant-tooltip {
    pointer-events: auto;
}


.reports-disabled {
    pointer-events: auto; /* allow hover */
    opacity: 0.6; /* looks disabled */
    position: relative;
    cursor: not-allowed; /* visual cue */
}

    .reports-disabled:hover {
        background-color: #6c757d; /* change color on hover */
    }

.reports-tooltip {
    position: absolute;
    bottom: 100%; /* above the button */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.reports-disabled:hover .reports-tooltip {
    opacity: 1;
}