.ck-editor__editable {
    min-height: 300px;
}

/* .quote-heading{text-align: center;} */
.quote-heading h1 {
    font-size: 40px;
    font-weight: 700;
    color: #000;
}


.quote-heading {
    font-family: 'Georgia', serif;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-containerup {
    position: relative;
    width: 250px;
    height: calc(100vh - 128px);
    overflow: hidden;
}

.slider-containerdown {
    position: relative;
    width: 380px;
    height: calc(100vh - 128px);
    overflow: hidden;
}

.hero-section .hero-img-slide {
    height: calc(100vh - 128px) !important;
}

.sliderup {
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 30%;
}

.sliderdown {
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 30%;
}

.slider-up {
    top: 0;
    animation: slideUp calc(2s * var(--slide-count)) linear infinite;
}

.slider-down {
    bottom: 0;
    animation: slideDown calc(3s * var(--slide-count)) linear infinite;
}

.slideup {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sliderup .slide {
    max-width: 230px;
}

.slidedown {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}



@keyframes slideUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(-100% * var(--slide-count)));
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(calc(-100% * var(--slide-count)));
    }

    100% {
        transform: translateY(0);
    }
}

.flex-1 {
    flex: 1;
}

@media screen and (max-width: 1319px) {
    .container {
        max-width: 100%;
        min-width: 10px;
    }
}

@media screen and (max-width: 1380px) {
    .hero-section .hero-img-slide {
        min-width: 200px
    }

    .slider-containerdown {
        width: 288px;
    }
}

@media screen and (max-width: 1219px) {
    .hero-section-des .col-md-6 {
        width: 100%;
    }

    .hero-section .hero-img-slide {
        height: 585px;
    }

    .slider-containerdown {
        width: 100%
    }
}

@media screen and (max-width: 1023px) {
    .quote-heading h1 {
        font-size: 34px;
    }
}

@media screen and (max-width: 767px) {
    .hero-img-slide .slider-up {
        animation: none;
    }

    .hero-img-slide .slider-down {
        animation: none;
    }

    .hero-section .hero-img-slide {
        height: auto;
    }

    .sliderup {
        position: relative;
        height: auto;
        top: auto;
        display: flex;
        flex-direction: unset;
        white-space: nowrap;
        overflow: auto;
        gap: 15px;
    }

    .sliderdown {
        position: relative;
        height: auto;
        bottom: auto;
        display: flex;
        flex-direction: unset;
        overflow: auto;
        gap: 15px;
    }

    .hero-img-slide .d-flex.flex-row {
        flex-direction: column !important;
    }

    .hero-img-slide .d-flex.flex-row .flex-1 {
        margin-top: 30px;
    }

    .slider-containerup {
        width: 100%;
        height: auto;
    }

    .sliderup .slide {
        width: 250px;
        flex: 0 0 250px;
        max-width: 350px;
    }

    .sliderdown .slide {
        width: 350px;
        flex: 0 0 350px;
        max-width: 350px;
    }

    .slider-containerdown {
        height: auto;
    }

}

.no-record-in {
    text-align: center;
    padding-top: 69px;
}

.custom-badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 75%;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px;
}

.table-responsive {
    max-height: calc(100vh - 240px) !important;
}

.custom-badge-success {
    background-color: green;
    color: white;
}

.custom-badge-warning {
    background-color: yellow;
    color: black;
}

.custom-badge-danger {
    background-color: red;
    color: white;
}

.custom-badge-info {
    background-color: blue;
    color: white;
}

.withborder th,
td {
    border: 1px solid #dee2e6;
}

.ck.ck-editor__editable {
    min-height: 100px;
    border: 1px solid #dee2e6;
    padding: 0.5rem;
}

.table-kra {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.th-kra,
.td-kra {
    border: 1px solid #999;
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.th-kra {
    background-color: #ffeb3b !important;
}

.table-kra.custom-bordered {
    border-collapse: collapse;
    width: 100%;
}

.table-kra.custom-bordered th,
.table-kra.custom-bordered td {
    border: 1px solid black;
    padding: 8px;
    font-size: 14px;
}

.table-kra.custom-bordered th {
    background-color: #f9f9f9;
    font-weight: bold;
}

.section-title-kra {
    background-color: #d4924a !important;
    font-weight: bold;
    color: #fff;
}

.sub-heading-kra {
    background-color: #e0e0e0;
    font-weight: bold;
}

.error-text {
    color: red;
    font-size: 0.875rem;
    margin-top: 4px;
}

.error {
    color: red;
    font-size: 0.875rem;
    margin-top: 4px;
}


.transition {
    transition: all 0.3s ease-in-out;
}

.hover-shadow:hover {
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.dragging {
    transform: scale(1.05);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    z-index: 1050 !important;
    position: relative;
}

.no-accept {
    background-color: #f8d7da !important;
    border: 2px dashed #dc3545;
}

.no-drag {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.assignee-circle {
    width: 32px;
    height: 32px;
    border: 2px solid black;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: black;
    margin-right: 5px;
    cursor: default;
    background-color: hsl(189, 46%, 61%);
}

.attachments-scroll {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}

/* Optional scrollbar polish */
.attachments-scroll::-webkit-scrollbar {
    width: 6px;
}

.attachments-scroll::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}

/* Image container for tile layout */
.image-container {
    background: white;
    padding: 5px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.image-container img.image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}


.filter-popup-alert {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #f5f5f5;
    border-left: 5px solid #007bff;
    padding: 12px 16px;
    border-radius: 4px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.kanban-loader {
    text-align: center;
    color: #888;
    font-size: 14px;
}

.in-time-cell:hover {
    color: #14532d;
    /* Darker green on hover for in_time */
}

.out-time-cell:hover {
    color: #1e3a8a;
    /* Darker blue on hover for out_time */
}

@media (max-width: 600px) {

    .in-time-cell,
    .out-time-cell {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
}

.flatpickr-clear-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.flatpickr-clear-btn:hover {
    background-color: #d32f2f;
}
/* Enhanced Card Design */
.question-status-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.question-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

/* Enhanced Status Badges */
.status-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%) !important;
    color: #000 !important;
}

.status-badge.bg-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%) !important;
}

.status-badge.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%) !important;
}

/* Enhanced Alerts */
.rejection-alert,
.approval-alert {
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rejection-alert {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c2c7 100%);
    border-left: 4px solid #dc3545;
}

.approval-alert {
    background: linear-gradient(135deg, #d1e7dd 0%, #badbcc 100%);
    border-left: 4px solid #198754;
}

/* Enhanced Detail Labels */
.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.detail-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
    line-height: 1.4;
}

/* Enhanced Section Titles */
.section-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap:8px;
    color: #343a40;
    position: relative;
}



.section-title i {
    color: #0d6efd;
    font-size:20px;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Response Display */
.response-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1rem 0;
    border-left: 4px solid #0d6efd;
}

.response-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.response-content {
    color: #212529;
    line-height: 1.6;
    font-size: 1rem;
}

/* Enhanced Card Header */
.card-header-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    border-radius: 16px 16px 0 0 !important;
    padding: 1.25rem 1.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-title {
        font-size: 18px;
    }
    
    .section-title::after {
        display: none;
    }
    
    .detail-value {
        font-size: 1rem;
    }
    
    .response-container {
        padding: 1rem;
    }
}

/* Enhanced Page Header */
.page-header-enhanced {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.page-header-enhanced h4 {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.page-header-enhanced .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.page-header-enhanced .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
}

.page-header-enhanced .breadcrumb-item.active {
    color: white;
}