﻿
body {
    background-color: #f8f9fa;
}

.nav-link:hover {
    background-color: #495057;
}

.card {
    width: 100%;
}


.emp-det-container {
    width: 100%;
    margin: auto;
    padding: 30px;
}

h2 {
    margin-top: 40px;
    font-size: 1.4em;
    /* border-bottom: 2px solid #ccc; */
    padding-bottom: 5px;
}

.section {
    margin-top: 20px;
    color: #4d4d4d;
}

.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.label {
    font-weight: bold;
    flex: 1;
}

input {
    flex: 2;
    padding: 6px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f0f0f0;
}

    input:disabled {
        background-color: #e9e9e9;
        color: #555;
    }

.value {
    flex: 2;
}

.button {
    display: inline-block;
    background-color: #71bf44;
    font-size: 18px;
    color: white;
    padding: 10px 20px;
    border: none;
    margin-top: 10px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

    /* Hover state */
    .button:hover {
        background-color: #64a93d;
    }

    /* Focus state */
    .button:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(113, 191, 68, 0.5);
    }

    /* Active (pressed) state */
    .button:active {
        background-color: #558c35;
        color: white;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }

.modal {
    color: #4d4d4d;
}

.modal-dialog {
    width: 100%;
    max-width: 50%;
}

.modal-footer {
    display: flex !important;
    flex-direction: row !important;
}

.modal-header {
    border-bottom: none;
    color: #4d4d4d;
}

.pdf-section {
    padding: 20px;
    width: 100%;
    display: none;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    align-content: center;
    gap: 20px;
    background-color: #e9e9e9;
    border-radius: 8px;
}

.images-section {
    padding: 15px;
    width: 100%;
    display: none;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    align-content: center;
    gap: 15px;
    background-color: #e9e9e9;
    border-radius: 8px;
}

.pdf-item {
    display: flex;
    flex-direction: column;
    width: fit-content;
    max-width: 130px;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #f4f4f4;
    border-radius: 6px;
    /* ✨ Shadow */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 12px;
    transition: box-shadow 0.3s ease;
}

.pdf-name {
    word-break: break-word;
    margin: 0;
    max-width: 90%;
}

.img-item {
    display: flex;
    flex-direction: column;
    width: fit-content;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
    background-color: #f4f4f4;
    border-radius: 6px;
    /* ✨ Shadow */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 12px;
    transition: box-shadow 0.3s ease;
}

.img-name {
    word-break: break-word;
    margin: 0;
    max-width: 90%;
}

.pdf-img {
    max-width: 50px;
}

.img-img {
    max-width: 200px;
}

    .img-img:hover {
        cursor: pointer;
    }

.remove-pdf-btn, .remove-img-btn {
    padding: 2px 4px;
    line-height: 1;
    font-size: 12px;
    margin-left: auto;
}

.submit-disability-btn {
    display: none;
    text-align: center;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.gslide-description {
    display: none !important;
}

#loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-width: 70px;
    max-height: 70px;
}

.toast-center-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
}

.dis-con-requests li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 10px;
}

.dis-con-requests {
    padding-left: 0px !important;
}

.dsb-sub-st-part, .dsb-sub-act-part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.pending {
    background-color: gray;
}

.approved {
    background-color: lawngreen;
}

.rejected {
    background-color: red;
}


.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.2s ease-in-out;
}

.tab-link.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    font-weight: bold;
}

#main-content {
    min-height: 400px;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-content: center;
    position: relative;
}

.btn-title-cnt {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-content: center;
    align-items: center;
    gap: 10px;
}

    .btn-title-cnt a {
        display: none;
    }



.toast-center-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
}


/* Break here */





/* Modal Background & Shadow */
.modal-content {
    background-color: #fdfdfd;
    border-radius: 12px;
    border: none;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}

/* Modal Header */
.modal-header {
    background: #20232a;
    color: #ffffff;
    border-bottom: 1px solid #343a40;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Modal Title */
.modal-title {
    font-weight: 600;
    font-size: 1.2rem;
}

/* Form floating label overrides */
.form-floating > label {
    color: #6c757d;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    background-color: #f8f9fa;
    color: #212529;
}

    /* On focus */
    .form-control:focus,
    .form-select:focus {
        border-color: #4a90e2;
        box-shadow: 0 0 0 0.1rem rgba(74, 144, 226, 0.25);
        background-color: #fff;
    }

/* Buttons */
.modal-footer .btn-success {
    background-color: #198754;
    border-color: #198754;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
}

    .modal-footer .btn-success:hover {
        background-color: #157347;
        border-color: #146c43;
    }

.modal-footer .btn-outline-secondary {
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
}

/* Placeholder gray block for working days */
.working-days {
    background-color: #f1f3f5;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #6c757d;
}

#loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-width: 70px;
    max-height: 70px;
}

.loader {
    /* display: none; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    max-width: 70px;
    max-height: 70px;
}






