

body {
    font-family: 'Inter', Arial, sans-serif;
    margin: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

/*.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    padding: 0;
    border-bottom: 1px solid #ddd;
    background-color: #ddd;
}*/

/*.logo img {
    height: 50px;
}*/

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


h2 {
    margin-top: 20px;
    font-size: 24px;
}

.tabs {
    display: flex; /* Enables flexbox */
    justify-content: space-between;
    align-items: center;
    /*padding: 10px;*/
}

    .tabs .tab {
        padding: 12px 16px 12px 16px;
        background-color: #f0f0f0;
        border: none;
        cursor: pointer;
        border-radius: 200px;
        margin-right: 10px;
        height: 43px;
        width: 198px;
    }


        .tabs .tab.active {
            padding: 12px 16px 12px 16px;
            background-color: black;
            color: white;
            border-radius: 200px;
            height: 43px;
            width: 198px;
        }

.search-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    height: 40px;
}
input {
    width: 80%;
    height: 54px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    border-radius: 6px;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
    margin: 8px 0px;
    padding: 15px;
}

.search-input {
    padding: 12px 16px 12px 16px;
    border: 1px solid #ddd;
    border-radius: 200px;
    width: 300px;
    height: 40px;
    margin-right: 10px;
}

.sort-select {
    padding: 12px 20px 12px 20px;
    border: 1px solid #ddd;
    border-radius: 200px;
}

.btn-tpl {
    width: 80%;
    height: 54px;
    background: #BF9F3D;
    border-radius: 3px;
    flex: none;
    order: 3;
    flex-grow: 0;
    margin: 16px auto;
    color: #fff;
    text-align: center;
    padding: 16px;
    font-weight: bold;
    border-radius: 60px;
}

.tpltitle {
    background-color: #f9f8f8;
    border: none;
    padding: 20px 20px;
    cursor: pointer;
    border-radius: 10px;
    display: block;
    justify-content: space-between;
    /*align-items: center;*/
    margin: 20px 0px 20px 0px;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 1200px;
    border-radius: 12px;
}

.cases-list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between; */
    gap: 20px;
}

.case-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: 373px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    border-radius: 12px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

    .case-card h3 {
        margin-top: 0;
        font-size: 18px;
    }

    .case-card p {
        margin: 5px 0;
    }

.caselist-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: 386px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', Arial, sans-serif;
    border-radius: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

    .caselist-card h3 {
        margin-top: 0;
        font-size: 18px;
    }

    .caselist-card p {
        margin: 5px 0;
    }

.badge {
    background-color: #BF9F3D;
    color:white;
    border-radius: 50%;
    /*padding: 10px 15px;*/ /* Adjusts padding to make it perfectly round */
    display: inline-block;
    text-align: center;
    font-size: 21px; 
    /*line-height: 1; */
    min-width: 25px; 
    height: 25px; 
}

.status {
    display: inline-block;
    background-color: #fff7df;
    padding: 4px 8px;
    color: #876D20;
    border-radius: 30px;
    font-weight: bold;
}

.instructions-btn {
    background-color: white;
    color: black;
    border-radius: 50px;
    border: none;
    padding: 8px 16px 8px 16px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


    .instructions-btn i {
        transition: transform 0.3s ease;
    }

    /* Focus style for better UX */
    .instructions-btn:focus {
        outline: none;
    }

    .instructions-btn:hover {
        background-color: #BF9F3D;
        color: white;
    }


.expanded-content {
    margin-top: 20px;
    display: block;
    transition: all 0.3s ease;
}

.model-box {
    border: 1px solid #ccc;
    margin: 10px 0;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    width: 350px;
    display: inline-block;
}


.status-last-updated {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

    .status-last-updated p {
        margin: 0;
    }

.update-btn {
    margin-top: 15px;
    padding: 12px 16px 12px 16px;
    background-color: #BF9F3D;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 900px;
    width: 144px;
    height: 46px;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


.updateModal {
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    margin: auto;
    text-align: left;
    position: relative;
}

    .updateModal h1 {
        margin: 0;
        font-size: 1.2em;
        color: #333;
    }

    .updateModal p {
        font-size: 0.9em;
        color: #666;
    }

    .updateModal label {
        font-size: 1em;
        color: #333;
        margin-top: 15px;
        display: block;
    }

    .updateModal select.sort-select {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border-radius: 5px;
        border: 1px solid #ccc;
        font-size: 1em;
    }

    .updateModal h2 {
        font-size: 0.9em;
        color: #666;
        margin-top: 10px;
    }

    .updateModal input.search-input {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border-radius: 5px;
        border: 1px solid #ccc;
        font-size: 1em;
    }


.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

    .modal-buttons .cancel-button,
    .modal-buttons .save-button {
        padding: 12px 16px 12px 16px;
        border-radius: 900px;
        border: none;
        cursor: pointer;
        font-size: 1em;
        width: 144px;
        height: 46px;
    }

    .modal-buttons .cancel-button {
        background-color: #f0f0f0;
        color: #333;
    }

    .modal-buttons .save-button {
        background-color: #BF9F3D;
        color: white;
    }

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: black;
    cursor: pointer;
}

.badges {
    margin: 20px;
    text-align: center;
}

    .badges h1 {
        margin: 0;
        font-size: 1.5em;
        color: #333;
        font-weight: bolder;
        padding-top: 20px;
    }
.emailsent {
    padding-left: 10%;
    padding-top: 15%;
}