/*important*/


body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8 !important;
}

.cont {
    display: flex;
    justify-content: center;
}

.table-container {
    width: 94.5vw;
    overflow-x: auto; /* Enables horizontal scrolling */
    font-size: 12px;
    background-color: white;
    border-radius: 16px;
    border: 1px #3E2723 solid;
    padding-bottom: 0;
}

.table-container::-webkit-scrollbar {
    /*height: 1px;*/
}

.button-container-show-table {
    display: flex;
    justify-content: space-between;
    padding: 0 2vw;
    margin-bottom: 2vh;
}

.styled-button {
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.icon-box img {
    width: 18px;
    height: 18px;
}

.label-box {
    padding: 10px 10px;
    color: white;
}

.btn-me {
    background: linear-gradient(180deg, #3E2723, #4E342E);
    border: none !important;
}

.table-for-sj thead {
    background-color: #A17249;
    width: 100%;
}

.custom-pagination nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.custom-pagination .page-link {
    color: #4E342E; /* dark brown */
    background-color: #f3e5ab; /* light brown */
    border: 1px solid #d2b48c;
    padding: 8px 12px;
    margin: 0 4px;
    border-radius: 4px;
    text-decoration: none;
}

.custom-pagination .page-item.active .page-link {
    background-color: #3E2723; /* darker brown */
    color: white;
    border-color: #3E2723;
}


.navbar-mine {
    background: linear-gradient(0deg, #D2B48C, #F5DEB3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 2.5vh;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}

.logo img {
    width: 5vw;
    border-radius: 8px;
    background-color: white;
}

.right-nav {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.navbar-btn {
    height: 8vh;
    border-radius: 8px;
    border: none;
}

.logout-btn {
    width: 8vh;
    padding: 0;
}

.logout-btn img {
    width: 70%;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.custom-radio {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    color: #3f2e1d;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #8b5c2c;
    border-radius: 50%;
}

.custom-radio input:checked ~ .checkmark {
    background-color: #8b5c2c;
    box-shadow: inset 0 0 0 4px white;
}

.custom-radio:hover .checkmark {
    background-color: #e6d3b3;
}

.delete-btn {
    background: linear-gradient(180deg, red, red)
}

.notify-supervisor {
    width: 20vw;
    position: absolute;
    min-height: 4vh;
    right: 5vw;
    top: 15vh;
    background-color: white;
    border-radius: 8px;
}


ul.custom-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    max-width: 400px;
    background-color: #fdf7f0;
    border: 1px solid #e0c9a6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

ul.custom-list li {
    border-bottom: 1px solid #e0c9a6;
}

ul.custom-list li:last-child {
    border-bottom: none;
}

ul.custom-list a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #4b2e14;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

ul.custom-list a:hover {
    background-color: #f2e1cc;
    color: #8b5c2c;
}

/*important*/

.actions {
    display: flex;
    gap: 8px;
}

.actions a, .actions button {
    padding: 4px 8px;
    text-align: center;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
}

.actions a {
    background-color: #5cb85c;
    text-decoration: none;
}

.actions button {
    background-color: #d9534f;
}

.actions button:hover {
    background-color: #c9302c;
}

/* General container styling */
.container_add_sj {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form heading */
.container_add_sj h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Form group styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}


/* Input group styling */
.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-group input {
    flex: 1;
}

.input-group label {
    font-weight: normal;
    margin-right: 10px;
    white-space: nowrap;
}

/* Add some spacing for the dynamic input container */
#input-container {
    margin-top: 10px;
}

.no-margin{
    margin: 0;
}

.my-flex-column{
    display: flex;
    flex-direction: column;
}

.date-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive design */
@media (max-width: 600px) {
    .container_add_sj {
        padding: 15px;
    }

    .input-group {
        flex-direction: column;
        gap: 5px;
    }

    button[type="submit"],
    button#add-input,
    button.btn-danger {
        width: 100%;
    }
}




