/* ============================================
   PmxList Shared Styles
   Common CSS used across multiple PmxList components
   ============================================ */

/* ============================================
   ROW STATUS INDICATORS
   ============================================ */
.row-today {
    font-weight: bold;
}

.refresh-today {
    font-weight: bold;
}

.submit-today {
    color: rgb(0, 164, 0) !important;
    font-weight: bold;
}

.on-subs {
    color: rgb(255, 0, 0) !important;
    font-weight: bold;
}

/* ============================================
   MODAL OVERLAY STYLES
   ============================================ */
.pmxlistmodal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.pmxlistmodal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 420px;
    width: min(100%, 420px);
    text-align: center;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
}

.pmxlistmodal-content button {
    margin-top: 10px;
}

/* ============================================
   ICON DROPDOWN BOX STYLES
   ============================================ */
.icon-dropdown-box {
    background-color: rgb(22, 62, 159);
    border: 1px solid rgb(0, 0, 0);
    padding: 4px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white !important;
}

.icon-dropdown-box i {
    color: white !important;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.icon-dropdown-box:hover {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.icon-dropdown-box-red {
    background-color: rgb(220, 53, 69);
    border: 1px solid rgb(0, 0, 0);
    padding: 4px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-dropdown-box-green {
    background-color: rgb(0, 164, 0);
    border: 1px solid rgb(0, 0, 0);
    padding: 4px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes flashGreen {
    0% {
        background-color: #d4edda;
    }
    100% {
        background-color: transparent;
    }
}

.row-flash-success {
    animation: flashGreen 2s ease-out;
}

/* ============================================
   HEADER FORM STYLES
   ============================================ */
.pmxlist-header-form label {
    font-weight: bold;
    font-size: 1.05rem;
}

.pmxlist-header-form textarea {
    height: 32px;
    resize: vertical;
    overflow: hidden;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.large-ok-btn {
    font-size: 1.2rem;
    padding: 10px 20px;
    width: 100%;
}

.selected-lookup-row {
    background-color: yellow !important;
    font-weight: bold;
}
