﻿
body {
    font-family: "Jost", sans-serif !important;
    background-color: #f8f9fa;
    font-size: 12px;
    overflow-x: hidden;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}
.pq-toolbar {
    font-size: 13px !important;
    font-family: 'Jost', sans-serif !important;
}
.pq-grid {
    font-family: 'Jost', sans-serif !important;
    font-size: 1.2rem !important;
}
/* Header cells */
.pq-title-span {
    font-size: 13px !important;
    font-family: 'Jost', sans-serif !important;
    font-weight: 600;
}

/* Body cells */
.pq-grid-cell {
    font-size: 12px !important;
    font-family: 'Jost', sans-serif !important;
}

.pq-grid-bottom {
    font-size: 13px !important;
    font-family: 'Jost', sans-serif !important;
    font-weight: 600;
}

.pq-grid-top ui-widget-header {
    font-size: 13px !important;
    font-family: 'Jost', sans-serif !important;
    font-weight: 600;
}

.pq-grid-number-cell {
    font-size: 12px !important;
    font-family: 'Jost', sans-serif !important;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
/* Base modern look */
.ui-dialog.modern-colored-dialog {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
    font-family: 'Jost', sans-serif;
}

/* Colored headers */
.dialog-success .ui-dialog-titlebar {
    background-color: #28a745 !important;
    color: #fff !important;
}

.dialog-error .ui-dialog-titlebar {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.dialog-info .ui-dialog-titlebar {
    background-color: #0dcaf0 !important;
    color: #fff !important;
}

/* Header cleanup */
.ui-dialog.modern-colored-dialog .ui-dialog-titlebar {
    border: none !important;
    font-weight: 600;
    padding: 0.75rem 1rem !important;
}

/* Content centered */
.dialog-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
}

    .dialog-content-wrapper p {
        margin: 0;
        font-size: 15px;
        color: #333;
    }

/* OK button */
.ui-dialog-buttonpane {
    border: none !important;
    text-align: center !important;
    padding-bottom: 1rem !important;
}

    .ui-dialog-buttonpane button {
        border-radius: 6px !important;
        padding: 6px 22px !important;
        font-size: 13px !important;
        background: #fff !important;
        color: #000 !important;
    }

/* Style for your edit button inside pqGrid */
.edit-user {
    width: 35px; /* Total button width */
    height: 20px; /* Button height */
    display: flex; /* Enables centering */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    padding: 0; /* Remove extra space */
    font-size: 11px; /* Smaller text */
    border-radius: 4px; /* Rounded corners */
    border: none; /* Clean look */
}

    /* Adjust icon inside button */
    .edit-user .glyphicon {
        margin-right: 3px; /* Space between icon & text */
        font-size: 11px;
    }

    /* Optional: Hover effect */
    .edit-user:hover {
        background-color: #0b5ed7 !important;
    }


/* Style for your edit button inside pqGrid */
.edit-coordinator {
    width: 35px; /* Total button width */
    height: 20px; /* Button height */
    display: flex; /* Enables centering */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    padding: 0; /* Remove extra space */
    font-size: 11px; /* Smaller text */
    border-radius: 4px; /* Rounded corners */
    border: none; /* Clean look */
}

    /* Adjust icon inside button */
    .edit-coordinator .glyphicon {
        margin-right: 3px; /* Space between icon & text */
        font-size: 11px;
    }

    /* Optional: Hover effect */
    .edit-coordinator:hover {
        background-color: #0b5ed7 !important;
    }

/* ===========================
   Modern Slide Filter Box
   =========================== */
.ts-filter-box {
    position: fixed;
    width: 400px;
    min-height: 120px;
    top: 59px;
    right: -400px;
    background-color: #337bb2;
    z-index: 930;
    color: #fff;
    -webkit-transition: right .3s;
    -o-transition: right .3s;
    transition: right .3s;
}

    .ts-filter-box.opened {
        right: 0;
    }

    /* Filter Box Toggle Button (compact, right-aligned) */
    .ts-filter-box .btn-toggle {
        position: fixed;
        top: 20px; /* adjust vertical position as needed */
        right: 0;
        width: 36px;
        height: 36px;
        border-radius: 50% 0 0 50%;
        background-color: #0d6efd;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        z-index: 1060;
        transition: all 0.25s ease;
    }

        .ts-filter-box .btn-toggle:hover {
            background-color: #0b5ed7;
            transform: scale(1.05);
        }

        /* Adjust icon inside */
        .ts-filter-box .btn-toggle i {
            font-size: 15px;
            line-height: 1;
        }

/* Make sure the box itself starts off-screen and slides in smoothly */
.ts-filter-box {
    position: fixed;
    top: 20px;
    right: -380px;
    width: 360px;
    background: #f8f9fa;
    color: #212529;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
    border-radius: 8px 0 0 8px;
    padding: 18px;
    z-index: 1050;
    transition: right 0.35s ease;
}

    .ts-filter-box.opened {
        right: 0;
    }

/* For small screens (mobile view) */
@media (max-width: 576px) {
    .ts-filter-box {
        width: 85%;
        right: -85%;
        padding: 14px;
    }

        .ts-filter-box .btn-toggle {
            top: 150px;
            width: 32px;
            height: 32px;
            right: 0;
            font-size: 13px;
        }
}

