/* Santej Production User PMR Details Page Stylesheet */

.prod-detail-page {
    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 Block */
.prod-detail-header-block {
    margin-bottom: 4px;
}

.prod-detail-header-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

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

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

/* 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;
}

.status-in-production {
    background-color: #FDF2F8;
    border: 1px solid #F472B6;
    color: #DB2777;
}

.status-completed {
    background-color: #F0FDF4;
    border: 1px solid #4ADE80;
    color: #16A34A;
}

/* 2-Column Main Grid Layout */
.prod-detail-main-grid {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}

@media (max-width: 992px) {
    .prod-detail-main-grid {
        flex-direction: column;
    }
    .prod-left-info-card {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}

/* Left PMR Information Card */
.prod-left-info-card {
    flex: 0 0 240px;
    width: 240px;
    background-color: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
}

.prod-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prod-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.prod-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.prod-info-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #333333;
}

.prod-info-value {
    font-size: 12.5px;
    font-weight: 400;
    color: #808080;
    line-height: 1.4;
}

/* Right Main Content Card */
.prod-right-content-card {
    flex: 1;
    background-color: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    padding: 20px 24px;
    box-sizing: border-box;
    min-width: 0;
}

.prod-card-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.prod-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 2px 0;
}

/* Table Section */
.prod-table-container {
    background-color: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 0;
}

.prod-weights-table {
    width: 100%;
    border-collapse: collapse;
}

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

.prod-weights-table th {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748B;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #EAEAEA;
}

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

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

/* Bottom Actions Row */
.prod-card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid #EAEAEA;
    padding-top: 16px;
    margin-top: 16px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.prod-btn-cancel-action {
    background-color: #FFFFFF;
    border: 1px solid #D9E0E7;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1A1A1A;
    cursor: pointer;
    height: 36px;
    transition: all 0.15s ease;
}

.prod-btn-cancel-action:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

.prod-btn-submit-action {
    background-color: #FF0000;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    height: 36px;
    transition: background-color 0.15s ease;
}

.prod-btn-submit-action:hover {
    background-color: #CC0000;
}
