/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
@font-face {
    font-family: "SF Pro Display";
    src: url("fonts/SFPRODISPLAYREGULAR.OTF") format("opentype");
    font-weight: 400;
}

:root {
    --bs-font-sans-serif: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    --bs-body-font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    --bs-font-family-base: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.client-requests,
.service-requests,
.new-requests {
    padding: 20px;
    display: inline-block;
    width: 100%;
    font-family: "Google Sans Code", "SF Pro Display", monospace;
}

.fade:not(.show) {
    opacity: 1;
    background: rgba(0,0,0, 0.4);
}

.modal-dialog {
    top: 120px;
}

.table.dataTable {
    font-family: "Google Sans Code", "SF Pro Display", monospace;
}

.table.dataTable thead th {
    font-family: "Google Sans Code", "SF Pro Display", monospace;
}

.table.dataTable tbody td {
    font-family: "Google Sans Code", "SF Pro Display", monospace;
}
.tab {
    display: flex;
    min-width: 220px;
    background-color: #f8f9fa;
    border-radius: 8px 0 0 8px;
}

.tab button {
    background-color: transparent;
    border: none;
    outline: none;
    text-align: left;
    padding: 12px 16px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border-left: 3px solid transparent;
}

.tab button:hover {
    background-color: #e9ecef;
}

.tab button.active {
    background-color: #fff;
    font-weight: bold;
    color: #0d6efd;
    border-left: 3px solid #0d6efd;
}

.tab-content {
    flex-grow: 1;
}

.tab-content .tabcontent {
    display: none;
}

#notification-sidebar {
    position: fixed;
    top: 40px;
    right: -320px;
    width: 300px;
    z-index: 9999;
    transition: right 0.4s ease-in-out;
    font-family: Arial, sans-serif;
}

#notification-sidebar .note-alert {
    background: #28a745;
    color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.user_ser_btn {
    position: relative;
    margin-right: 0;
    float: right;
    background: #00305B;
    color: #fff;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.user_ser_btn:hover {
    color: #fff !important;
}

form.crud_form input[type=checkbox] {
    width: 15px;
    min-width: 15px;
    height: 15px;
    border-radius: 0px;
    margin: 0px;
}
form.crud_form input[type=checkbox]:checked::before {
    width: 18px;
    min-width: 18px;
    height: 18px;
}
form.crud_form input[type=checkbox]:focus {
    outline: none;
    outline-offset: unset;
}

.caret {
    display: inline-block;
    margin-left: 6px;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

button[aria-expanded="true"] .caret {
    transform: rotate(180deg);
}
/* Create Request Tab - Start */
:root {
    --bg: #0b0c0f;
    --card: #12141a;
    --muted: #9aa3b2;
    --text: #e5e7eb;
    --accent: #5b8cff;
    --border: #1f2430;
    --ring: #7aa2ff;
    --radius: 16px;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f7f7fb;
        --card: #ffffff;
        --muted: #566173;
        --text: #0b1020;
        --accent: #335dff;
        --border: #e8eaf0;
        --ring: #6a8dff;
    }
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    overflow: clip;
}
.tabs {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0;
}
.tabs input[type="radio"] {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}
.tab-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0;
    position: relative;
    background: linear-gradient(0deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
    border-bottom: 1px solid var(--border);
}
.tab-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0px;
    gap: .5rem;
    cursor: pointer;
    user-select: none;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .2px;
    transition: color .25s ease;
    outline-offset: 3px;
    position: relative;
}
.tab-label:hover {
    color: var(--text);
}
.indicator {
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: 0;
    inline-size: calc(100% / var(--count));
    block-size: 3px;
    background: linear-gradient(90deg, var(--accent), color-mix(in hsl, var(--accent), white 15%));
    border-radius: 3px 3px 0 0;
    transform: translateX(var(--x, 0%));
    transition: transform .35s ease;
    will-change: transform;
}
.tab-panels {
    padding: 22px clamp(16px, 3vw, 28px);
    display: grid;
}
.panel {
    display: none;
    animation: fade .25s ease;
}
@keyframes fade {
    from {
        opacity: 0;
        translate: 0 4px;
    }
    to   {
        opacity: 1;
        translate: 0 0;
    }
}
.tab-list {
    --count: 5;
}
#tab-1:checked ~ .tab-list label[for="tab-1"] {
    color: var(--text);
}
#tab-1:checked ~ .tab-list .indicator {
    --x: 0%;
}
#tab-1:checked ~ .tab-panels #panel-1 {
    display: block;
}
#tab-2:checked ~ .tab-list label[for="tab-2"] {
    color: var(--text);
}
#tab-2:checked ~ .tab-list .indicator {
    --x: 100%;
}
#tab-2:checked ~ .tab-panels #panel-2 {
    display: block;
}
#tab-3:checked ~ .tab-list label[for="tab-3"] {
    color: var(--text);
}
#tab-3:checked ~ .tab-list .indicator {
    --x: 200%;
}
#tab-3:checked ~ .tab-panels #panel-3 {
    display: block;
}
#tab-4:checked ~ .tab-list label[for="tab-4"] {
    color: var(--text);
}
#tab-4:checked ~ .tab-list .indicator {
    --x: 300%;
}
#tab-4:checked ~ .tab-panels #panel-4 {
    display: block;
}
#tab-5:checked ~ .tab-list label[for="tab-5"] {
    color: var(--text);
}
#tab-5:checked ~ .tab-list .indicator {
    --x: 400%;
}
#tab-5:checked ~ .tab-panels #panel-5 {
    display: block;
}
.tab-label:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: -2px;
}
@media (max-width: 560px) {
    .tab-list {
        grid-auto-flow: row;
        grid-auto-rows: 48px;
    }
    .indicator {
        inline-size: 100%;
        block-size: 2px;
        transform: translateY(var(--y, 0));
        inset-inline: 0;
    }
    #tab-1:checked ~ .tab-list .indicator {
        --y: 0%;
    }
    #tab-2:checked ~ .tab-list .indicator {
        --y: 100%;
    }
    #tab-3:checked ~ .tab-list .indicator {
        --y: 200%;
    }
    #tab-4:checked ~ .tab-list .indicator {
        --y: 300%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .indicator {
        transition: none;
    }
    .panel {
        animation: none;
    }
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.chip {
    border: 1px solid var(--border);
    padding: 10px 12px;
    border-radius: 999px;
    text-align: center;
}
.muted {
    color: var(--muted);
}
/* Create Request Tab - End */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loader {
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}