.admin-header {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: white;
    font-weight: bold;
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 0;
}

.admin-subheader {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: white;
    white-space: nowrap;
}

.admin-title-container{
    width: 90%;
    display: flex;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.admin-title-container img{
    margin-right: 1rem;
}

.admin-info{
    width: 90%;
    margin: 0 auto;
    margin-top: 1rem;
    text-align: justify;
}

.admin-separator{
    margin: 0 auto;
    margin-top: 4rem;
    margin-bottom: 2rem;
    width: 90%;
    border-top: 1px solid white;
}

.admin-name{
    font-weight: bold;
}

.admin-timespan{
    float: right;
    font-size: clamp(1rem, 3vw, 1.5rem);
}

.admin-title-left {
    font-size: clamp(1rem, 3vw, 1.5rem);
    display: flex;
    align-items: center;
}

.faq-text {
    color: #0af;
    cursor: pointer;
    text-decoration: underline;
}

.faq-section-container{
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #111;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    animation: fadeInUp 0.4s ease;
    max-height: 90vh; 
    overflow-y: auto; 
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {

    .admin-subheader {
        display: block;
        margin-top: 0.5rem;
    }

    .admin-title-container {
        width: 90%;
        display: flex;
        padding: 1rem;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        flex-direction: column;
    }

    .admin-info {
        width: 90%;
        margin: 0 auto;
        margin-top: 1rem;
        text-align: left;
    }
    .modal-overlay {
        align-items: flex-start;
        overflow-y: auto;
        padding: 2rem 0;
    }

    .modal-content {
        margin: 0 auto;
        max-height: none;
    }

}
