/* Santej Production User PMR Management Stylesheet */

.prod-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1A1A1A;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

/* Header */
.prod-header {
    margin-bottom: 4px;
}

.prod-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.prod-desc {
    font-size: 12px;
    font-weight: 400;
    color: #9CA3AF;
    margin: 0;
    line-height: 1.3;
}

/* Filter Row (6 Dropdowns wrapped in white card container) */
.prod-filter-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    background-color: #ffffff;
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid #d9e0e7;
    box-sizing: border-box;
    align-items: center;
    height: 65px;
    width: 100%;
}

.prod-select-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
    box-sizing: border-box;
}

.prod-filter-select {
    width: 100%;
    height: 36px;
    padding: 0 24px 0 10px;
    font-size: 11px;
    color: #555555;
    background-color: #ffffff;
    border: 1px solid #d9e0e7;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.prod-filter-select:focus {
    outline: none;
    border-color: #cbd5e1;
}

.prod-select-chevron {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    color: #999999;
}

.prod-select-chevron svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* Table Card Container */
.prod-table-card {
    background-color: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.prod-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.prod-table thead {
    background-color: #FAFAFA;
    border-bottom: 1px solid #EAEAEA;
}

.prod-table th {
    padding: 12px 14px;
    font-size: 11.5px;
    font-weight: 600;
    color: #808080;
    text-align: left;
}

.prod-table td {
    padding: 12px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #F1F5F9;
    color: #151515;
}

.prod-table tr:last-child td {
    border-bottom: none;
}

/* PMR No Bold link */
.prod-pmr-no {
    font-weight: 400;
    color: #1A1A1A;
}

/* Standard Status Badges (Exact 105px x 26px, Vertically Centered) */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 10.5px;
    font-weight: 500;
    min-width: 105px;
    width: 105px;
    height: 26px;
    box-sizing: border-box;
    line-height: 24px;
    white-space: nowrap;
    vertical-align: middle;
}

/* Production Status Badge: In Production (Soft Pink/Purple Outline) */
.status-in-production {
    background-color: #FDF2F8;
    border: 1px solid #F472B6;
    color: #DB2777;
}

/* Production Status Badge: Completed (Soft Green Outline) */
.status-completed {
    background-color: #F0FDF4;
    border: 1px solid #4ADE80;
    color: #16A34A;
}

/* Action Eye Icon Button - Matching Standard PMR Pages */
.action-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #EAEAEA;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
    box-sizing: border-box;
}

.action-view-btn:hover {
    background-color: #fee2e2;
    border-color: #f87171;
}

.action-view-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #ef4444;
    stroke-width: 2;
}

/* Pagination Footer */
.prod-pagination-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #EAEAEA;
    background-color: #FFFFFF;
}

.prod-pagination-info {
    font-size: 12px;
    color: #9CA3AF;
}

.prod-pagination-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.prod-pagination-btn {
    min-width: 28px;
    height: 28px;
    border: 1px solid #E2E8F0;
    background-color: #FFFFFF;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    transition: all 0.15s ease;
}

.prod-pagination-btn:hover:not(:disabled) {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

.prod-pagination-btn.active {
    background-color: #FF0000;
    border-color: #FF0000;
    color: #FFFFFF;
}

.prod-pagination-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.prod-pagination-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
