﻿.bg-orange {
    background-color: #fd7e14 !important;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.bg-pink {
    background-color: #d63384 !important;
}

.bg-teal {
    background-color: #20c997 !important;
}
.status-editor {
    position: relative;
    display: inline-block;
    min-width: 160px !important; /* Increased significantly */
    height: 36px;
}

.badge-editable {
    cursor: pointer;
    user-select: none;
    min-width: 160px !important; /* Match container */
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35em 1rem; /* More horizontal padding */
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.875rem;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis; /* Clean truncation if ever needed */
}

.badge-dropdown {
    width: 100%;
    height: 100%;
    padding: 0.35em 2.5rem 0.35em 1rem !important; /* Left/right padding */
    border: none;
    border-radius: 0.375rem;
    background: inherit !important;
    color: inherit !important;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    /* Force no white flash - maximum priority */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: inherit !important;
    color: inherit !important;
    /* Custom arrow - white */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    /* Prevent any browser default white */
    opacity: 1 !important;
}

    /* Force options to match dark theme */
    .badge-dropdown option {
        background-color: #343a40 !important;
        color: white !important;
        padding: 0.5rem 1rem;
    }


.status-select {
    max-width: 180px;
}

small.text-muted em {
    font-size: 0.85em;
}


small.text-muted em {
    font-size: 0.85em;
    opacity: 0.9;
}


@media (max-width: 992px) {
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}


#inlineCalendar .flatpickr-calendar {
    box-shadow: none !important;
    background: transparent !important;
}

#inlineCalendar .flatpickr-days {
    width: 100%;
}

#inlineCalendar .dayContainer {
    width: 100%;
    min-width: auto;
}

.calendar-container {
    width: 320px;
}

@media (max-width: 768px) {
    .calendar-container,
    .calendar-container + div > div { /* targets the buttons wrapper */
        width: 100% !important;
    }
}






input {
    display: block;
    width: 50vw;
    padding: 0 1.25rem;
}

    input,
    input::placeholder {
        font-size: 0.9rem;
    }