﻿

body {
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/*.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: 10px 20px; 
        background-color: #f0f0f0; 
        border: none; 
        cursor: pointer; 
        border-radius: 20px; 
        margin-right: 10px;
    }


.tabs .tab.active {
    background-color: black; 
    color: white; 
}

.search-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.search-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 30px;
    width: 300px;
    height: 45px;
    margin-right: 10px;
}

.sort-select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.btn-tpl {
    width: 100%;
    height: 54px;
    background: #BF9F3D;
    border-radius: 3px;
    flex: none;
    order: 3;
    flex-grow: 0;
    margin: 16px auto;
    color: #fff;
    text-align: center;
    padding: 0;
    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;
}

.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: 365px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    border-radius: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

    .case-card h3 {
        margin-top: 0;
        font-size: 18px;
    }

    .case-card p {
        margin: 5px 0;
    }

.badge {
    background-color: #BF9F3D;
    border-radius: 20px;
    font-size: large;
}

.status {
    display: inline-block;
    background-color: #fff9e2;
    padding: 4px 8px;
    color: #BF9F3D;
    border-radius: 30px;
    font-weight: bold;
}

.instructions-btn {
    background-color: white;
    color: black;
    border-radius: 20px;
    border: none;
    padding: 10px 20px;
    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: 10px 20px;
    background-color: #BF9F3D;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 20px;
}
 
.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: 10px 20px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        font-size: 1em;
    }

    .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;
    }