@font-face {
    font-family: 'DIN';
    src: url('../fonts/DINCond.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

div {
    font-family: 'DIN', sans-serif;
}


.page-subtitle {
    text-align: center;
}
.page-title {
    text-align: center;
    margin: 0 10px;
}
.page-tagline{
    text-align: center;
    margin: 0 10px;
}


.back-button {
    width: 100%;    
    justify-content: center;
    align-items: center;
}
.filter-div{
    padding-left: 10px;
}

.filter-buttons {
    font-family: 'DIN', sans-serif;
    width: 5%;
    padding: 10px;
    position: relative;
}

.filter-buttons.active {
    border: 4px solid;
    border-image: linear-gradient(90deg, #1dd1a1, #3b3b98) 1;
    border-color: #21428B;
}

#filter-buttons-tooltip {
    display: none;
    background-color: #f9f9f9;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: absolute;
    margin-top: 10px;
    max-width: 300px;
    z-index: 100;
}

.filter-div:hover #filter-buttons-tooltip {
    display: block;
}

.agent-card-base {
    text-align: center;
    padding: 10px;
    border-radius: 16px;
    font-size: 24px;
    min-width: 280px;
    max-width: 300px;
    flex-shrink: 0;
}

.agent-card {
    color: #21428B;
    background-color: #A9C2F1;
}

.agent-card-mvp {
    color: #d0fff7;
    /*background: linear-gradient(90deg, #1dd1a1 0%, #3b3b98 100%);*/
    background: linear-gradient(90deg, #273A73 0%,#244673 25%,#1B5359 50%,#025940 90%, #77F2CF 100%);
}

.agent-card-fam {
    color: #21428B;
    /*background: linear-gradient(90deg, #efff60 0%, #ffa600 100%);*/
    background: linear-gradient(90deg, #ffee99 0%,#F2D335 25%,#F2DC6B 50%,#D9CA82 90%, #403001 100%);
}

.agent-card-base img {
    width: 150px;
    height: 150px;
}

.agent-container-horizontal {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
}

.horizontal-scroll {
    overflow-x: auto;
    white-space: nowrap;
}

.delete-button button {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    line-height: 1;
}

.bar {
    background-color: #1f2c4d;
    height: 16px;
    border-radius: 3px;
    margin-left: 10px;
    overflow: hidden;
}

.fill {
    background-color: #26ff00;
    height: 100%;
    transition: width 0.3s ease-in-out;
}

.content {
    text-align: center;
    border: 1px solid #21428B;
    padding: 10px;
    border-radius: 8px;
    background-color: #ffffff;
    width: auto;
    height: auto;
}

.top-right-button {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px; /* space between Add Person and ⚙️ */
}

.top-right-button span {
    font-size: 28px;
    border-radius: 10px;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.top-right-button span:hover {
    background-color: #dcdcdc;
}

.form-container {
    display: flex;
    justify-content: center;    /* Horizontal centering */
    align-items: center;        /* Vertical centering */
    min-height: 80vh;           /* Enough height for vertical centering */
    padding: 20px;
}

@media (max-width: 768px) {
    .agent-card-base {
        font-size: 18px;
        width: 80vw;
    }

    .top-right-button {
        position: static;
        margin-bottom: 20px;
    }

    .filter-buttons {
        width: auto;
        min-width: 80px;
        padding: 8px 12px;
        font-size: 14px;
        margin: 5px;
        display: inline-block;
    }

    button, .filter-buttons {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0; /* or your desired value */
    }

    .filter-div {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .top-right-button {
        position: static;
        flex-direction: column;
        align-items: center;   /* ⬅️ This centers the items horizontally */
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }

}

.work-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.modal {
    display: none; /* start hidden */
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
}


.modal.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    max-width: 25%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.glow-hover {
    transition: box-shadow 0.1s ease-in-out;
    border-radius: 8px;
}

.glow-hover:hover {
    box-shadow: 0 0 20px 5px rgba(0, 153, 255, 0.7); /* Glowing blue */
    transform: scale(1.05); /* Optional: subtle zoom on hover */
}

#logout-button {
    background-color: rgb(255, 47, 47);
    color: rgb(255, 255, 255)
}

#clear-button {
    background-color: rgb(255, 47, 47);
    color: rgb(255, 255, 255)
}

