/*Desktop Styles*/

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #ffffff;
    font-size: 14px !important;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}


thead {
    background-color: #f8f9fa;
    text-align: left;
    font-weight: 600;
    color: #4f565e !important;
}


thead th {
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
    font-size: 13px;
    letter-spacing: 0.5px;

    white-space: normal;
    word-break: break-word !important;
}

table.dataTable thead th {
    white-space: normal !important;
    word-break: break-word !important;
}


tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease-in-out;
}


tbody td {
    padding: 12px 16px;
    font-size: 14px;
    vertical-align: middle;
}


tbody tr:hover {
    background-color: #f1f3f5;
}


tbody tr:nth-child(even) {
    background-color: #fafafa;
}


.page-head {

    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;

}


.page-head-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px !important;
}


.page-head-nav li {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-weight: 400;
    font-size: 14px !important;
}

.page-head-nav li:not(:last-child)::after {
    content: '›';
    margin: 0 8px;
    color: #adb5bd;
    font-size: 14px !important;
}


.page-head-nav li a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
    font-family: 'inner', 'tahoma', serif;
    font-size: 14px !important;
}

.page-head-nav li a:hover {
    color: #007bff;
}


.page-head-nav li.active {
    color: #212529;
    font-weight: 800;
}


input[type="text"],
input[type="email"],
input[type="password"],
input[type="datetime-local"],
textarea,
select {
    border: 1px solid #ccc;
    border-radius: 6px;
    /*padding: 10px 12px;*/
    font-size: 14px;
    /*width: 100%;*/
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

input:focus,
select:focus {
    border-color: #414c58;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.4);
}


textarea:focus {
    border-color: #f9fcff;
    outline: none;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
}


button,
.btn,
a.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s, box-shadow 0.3s;
    padding: 4px 10px;
    font-size: 14px;
}


.btn:disabled,
.btn.disabled {
    background-color: #b8d0f6;
    border-color: #b8d0f6;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
}

.btn-primary {
    background-color: #414c58;
    border-color: #27303a;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}


label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}


::placeholder {
    color: #aaa;
    opacity: 1;
}


.panel {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
}


.form-group {
    margin-bottom: 20px;
}


.required-field::after {
    content: '*';
    color: #fa6a6a;
    margin-left: 4px;
}


.modal-content {
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    border: none;
    overflow: hidden;
}

.modal-header {
    background-color: #f7f9fc;
    border-bottom: 1px solid #dee2e6;
    padding: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #343a40;
}

.modal-body {
    padding: 25px;
    background-color: #ffffff;
}

.modal-footer {
    background-color: #f7f9fc;
    border-top: 1px solid #dee2e6;
    padding: 20px;
}


.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #495057;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 10px 14px;
    font-size: 14px;
    color: #212529;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.required-field::after {
    content: '*';
    color: red;
    margin-left: 5px;
}


#submitBtn {

    font-size: 14px;
    font-weight: 400;
    background-color: #414C58;
    border: none;
    border-radius: 6px;
    color: white;
    transition: background-color 0.3s ease;
}

#submitBtn:hover {
    background-color: #4e6075;
}

/* Close button icon */
.modal-header .close span {
    font-size: 20px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.modal-header .close:hover span {
    color: #dc3545;
}

/* Responsive fix for smaller screens */
@media (max-width: 480px) {
    .modal-dialog.custom-width {
        width: 95% !important;
        margin: 10px auto;
    }
}


.denason-table thead th {

    background-color: #414C58;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 12px 10px !important;
    border-bottom: 2px solid #e5e7eb;
}

.denason-shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.08);
}


.denason-shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.denason-radius {
    border-radius: 5px !important;
}


.denason-table {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.denason-table tbody td {
    vertical-align: middle;
}


.denason-icon-btn {
    background-color: #d6eaf8;
    color: #154360;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 6px;
    margin: 4px;
}

.denason-btn-divider {
    margin: 8px auto;
    width: 50%;
    border-top: 1px solid #154360;
}


.denason-cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.denason-cta-btn i {
    font-size: 18px;
    vertical-align: middle;
}

.denason-cta-btn:hover {
    background-color: #2563eb; /* رنگ آبی کمی تیره‌تر */
    border-color: #1d4ed8;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}


.denason-tab-wrapper > li > a {
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
}

.denason-font {
    font-family: 'Inter', 'Tahoma', sans-serif !important;
    font-size: 15px !important;
    font-weight: normal;
    line-height: 1.6;
    color: #333;
    /*text-transform: capitalize;*/

}

.denason-font-bold {
    font-family: 'Inter', 'Tahoma', sans-serif !important;
    font-size: 16px !important;
    font-weight: bolder;
    line-height: 1.7;
    color: #333;
    /*text-transform: capitalize;*/

}

.denason-font-thin {
    font-family: 'Inter', 'Tahoma', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300;
    line-height: 1.7;
    color: #413d3d;
    /*text-transform: capitalize;*/
}


.denason-action-box {
    background-color: #f5f2f2;
    border: 1px solid #d5d4d4;
    padding: 5px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
}

.denason-divider {
    width: 1px;
    height: 24px;
    background-color: #ccc;
    margin: 0 10px;
}

.denason-icon {
    color: #ffffff !important;
    font-size: 16px;
    padding: 5px;
    transition: color 0.2s ease;
}

.denason-icon:hover {
    color: #007BFF;
    text-decoration: none;
}


/*Mobile Devices styles*/
@media (max-width: 767px) {


    .be-right-navbar

    {
        background-color: #414c58 !important;
        border-color: #414c58 !important;
    }



    .denason-btn-responsive {
        display: block !important;
        width: 100%;
        border-radius: 0 !important;
        margin-bottom: 10px;
        text-align: center;
    }

    .denason-btn-group-responsive {
        width: 100%;
        display: block !important;
    }


    .denason-cta-btn {
        font-size: 13px;
        padding: 4px 10px;
    }


    .denason-font {
        font-size: 14px !important;
        line-height: 1.5;
    }

    .denason-font-bold {
        font-size: 15px !important;
        font-weight: bolder !important;
        line-height: 1.5;

    }

    .denason-font-thin {
        font-size: 13px !important;
        line-height: 1.5;
    }


    .denason-navbar-spacer {
        height: 50px;
    }

    .be-user-nav .dropdown-menu {
        width: 100%;
        right: 0;
        left: auto;
    }

    .be-user-nav .user-info {
        padding: 10px 0;
    }

    .be-user-nav .user-name {
        display: block;
        font-weight: bold;
    }

    .be-user-nav .user-position {
        font-size: 12px;
    }

    .be-user-nav img {
        width: 32px;
        height: 32px;
    }

    .denason-tab-wrapper > li > a {
        font-size: 13px;
        padding: 6px 8px;
    }

}
