.parsley-errors-list.filled {
    padding: 0;
    width: 100%;
    text-align: left;
}
.parsley-errors-list.filled {
    margin: 0;
    list-style: none;
    padding: 0;
}

.parsley-errors-list.filled li {
    color: red;
    font-size: 12px;
    margin-top: .25rem;
    list-style: none;
}

.preview-container a.delete-image,.preview-container a.delete-document {
    max-width: 100%;
    margin-right: 10px; /* Space between image and cross icon */
    background-color: #FFF;
    border: 1px solid;
    border-radius: 100px;
    line-height: 8px;
    width: 20px;
    height: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    color: red;
    padding: 5px;

}

.upload_media {
    position: relative;
    display:inline-block;
    margin-left:20px;
}

.generate_password_div .position-relative { position: relative; }
.generate_password_div .position-absolute { position: absolute;top: 37px;right: 10px;cursor: pointer; }
.generate_password_div .position-absolute i { font-size:22px; }
.login-box{
    width:435px;
}

/*15-10-2024*/
.sidebar-mini aside.main-sidebar.sidebar-dark-primary.elevation-4 {
    background: #002b5c;
}

.main-sidebar a.brand-link {
    text-align: center;
    background:#dfe4eb
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #1a416d;
    color: #fff;
}
.swal2-styled.swal2-confirm {
    background-color: #002b5c !important; /* New background color */
}
form button.btn.btn-primary.btn-block {
    background: #002b5c;
}
.small-box.bg-secondary:after {
    content: "";
    background-color: #001f3f8c;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.content .container-fluid .inner {
        position: relative;
        z-index: 1;
}

/* DataTable Styling */
.dataTables_wrapper {
    padding: 0;
    background-color: #fff;
}

/* Move search input to the right */
.dataTables_filter {
    float: right;
    margin-bottom: 10px;
}

/* Hide the length menu */
.dataTables_length {
    display: none;
}

/* Move pagination to the right */
.dataTables_paginate {
    float: right;
    margin-top: 15px;
}

table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

table.dataTable thead th {
    background-color:#f2f4f7;
    color:#002652;
    font-weight: 600;
    text-transform: uppercase;
    padding:7px 8px;
    border: none;
    text-align: left;
}
table.dataTable td, table.dataTable th{font-size: 14px;}

table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
    float: right;
    font-weight: 900;
}

table.dataTable tbody td {
    padding:7px 8px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    color:#475467;
}

table.dataTable tbody tr:nth-child(even) {
    background-color: #fff;
}

.dataTables_length select,
.dataTables_filter input {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
}

.dataTables_info, 
.dataTables_paginate {
    margin-top: 15px !important;
}

.paginate_button {
    padding: 5px 10px;
    margin: 0 2px;
    border-radius: 4px;
    cursor: pointer;
}

.paginate_button.current {
    background-color: #1a416d;
    color: white;
}

.paginate_button:hover:not(.current) {
    background-color: #e8eaf6;
}

/* Action buttons styling */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-info, .btn-danger, .btn-success {
    color: #fff;
}

.btn-info {
    background-color: #1a416d;
    border-color: #1a416d;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}
.btn-primary:hover,.btn-primary.focus, .btn-primary:focus,.btn-primary:active,
.btn-primary,.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle
 {
    background-color: #1a416d;
    border-color: #1a416d;
}

/* Style the search input and length menu */
.dataTables_filter input,
.dataTables_length select {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size:0.875rem;
    line-height: 1.5;
}

.dataTables_filter input:focus,
.dataTables_length select:focus {
    border-color: #1a416d;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(26, 65, 109, 0.25);
}

/* Style the pagination buttons */
.dataTables_paginate .paginate_button {
    display: inline-block;
    margin: 0 2px;
    border-radius: 4px;
    color: #1a416d;
    border: solid 1px #e7e7e7;
    padding: 10px 5px;
    width: auto;
    min-width: 40px;
    line-height: 1.25;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size:14px;
}

.dataTables_paginate .paginate_button:hover {
    color:#002652;
    background-color:#f9b122;
    border-color:#f9b122;
}

.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover,
.page-item.active{
    color:#002652;
    background-color:#f9b122;
    border-color:#f9b122;
}
.page-item.active .page-link{background:none;border:none;color:#002652}
.page-link:focus{box-shadow:none;}
.dataTables_paginate .paginate_button.disabled,
.dataTables_paginate .paginate_button.disabled:hover {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.dataTables_paginate .ellipsis {
    padding: 6px 12px;
    margin: 0 2px;
}

/* Style for the "Previous" and "Next" buttons */
.dataTables_paginate .previous,
.dataTables_paginate .next {
    font-weight: bold;
}

/* Adjust spacing for better alignment */
.dataTables_info {
    float: left;
    margin-top: 15px;
    padding-top: 6px;
}
.btn-info:hover,.btn-info.focus, .btn-info:focus,.btn-info:active {
    color: #fff;
    background-color: #1a416d;
    border-color: #1a416d;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color:#f6f6f6;
}
.page-link,.page-link:hover{color: #1a416d;background:none;border:none;padding:0;margin:0 auto;text-align:center;}
.nav-link {
    padding: .4rem 1rem;
}
div.dataTables_wrapper div.dataTables_info{color:#344054;font-size:14px;}
.breadcrumb-item{font-size: 14px;color:#0c111d !important;font-weight:600;}
.table td .btn{font-weight:400;}
/* Responsive adjustments */
@media (max-width: 767px) {
    .dataTables_paginate,
    .dataTables_info {
        float: none;
        text-align: center;
    }

    .dataTables_paginate .paginate_button {
        padding: 4px 2px !important;
        min-width: 25px;
    }
}

/* API Documentation specific styles */
.endpoint-method {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    color: white;
}

.method.get { background-color: #61affe; }
.method.post { background-color: #49cc90; }
.method.put { background-color: #fca130; }
.method.delete { background-color: #f93e3e; }

.endpoint-url {
    margin-left: 10px;
    font-family: monospace;
}

.response-example {
    background-color: #1e1e1e;  /* Darker background */
    color: #d4d4d4;  /* Light gray text */
    padding: 20px;
    border-radius: 6px;
    font-family: 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre;
    overflow-x: auto;
    tab-size: 4;
    -moz-tab-size: 4;
}

/* Syntax highlighting */
.response-example .string { color: #ce9178; }  /* Strings */
.response-example .number { color: #b5cea8; }  /* Numbers */
.response-example .boolean { color: #569cd6; } /* Booleans */
.response-example .null { color: #569cd6; }    /* Null */
.response-example .key { color: #9cdcfe; }     /* Object keys */

/* Scrollbar styling */
.response-example::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.response-example::-webkit-scrollbar-track {
    background: #1e1e1e;
    border-radius: 4px;
}

.response-example::-webkit-scrollbar-thumb {
    background: #424242;
    border-radius: 4px;
}

.response-example::-webkit-scrollbar-thumb:hover {
    background: #4f4f4f;
}

/* Add some spacing and border */
.endpoint-content pre {
    margin: 10px 0;
    border: 1px solid #333;
}

/* Make sure long lines don't break the layout */
.endpoint-content {
    overflow-x: hidden;
}

.endpoint-content h6 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.endpoint-content .table {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 4px;
}

.endpoint-content .table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
}

.endpoint-content .table td {
    border-top: 1px solid #dee2e6;
    color: #212529;
}

.param-row {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.param-row:hover {
    background-color: #e9ecef;
}

.json-section textarea,
.form-data-section textarea {
    font-family: monospace;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    margin: 0 2px;
}

/* API Documentation Styles */
.endpoint-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

.endpoint-content pre.response-example {
    background: #272822;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.endpoint-content .table {
    margin-bottom: 1rem;
    background-color: #fff;
}

.endpoint-content .badge {
    font-size: 85%;
}

.endpoint-content h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.method {
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 10px;
}

.method.get {
    background-color: #61affe;
    color: #fff;
}

.method.post {
    background-color: #49cc90;
    color: #fff;
}

.method.put {
    background-color: #fca130;
    color: #fff;
}

.method.delete {
    background-color: #f93e3e;
    color: #fff;
}

.endpoint-url {
    font-family: monospace;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.response-example code {
    word-break: break-all;
    white-space: pre-wrap;
}


button#downloadLogs {
    padding: 0px 15px 6px 14px;
    margin: 1px 0 6px 0;
}