/* Print Options Styling */
.print-options-field {
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #e9e9e9;
}

.print-options-field .label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.print-options-field .required {
    color: #e02b27;
    font-size: 16px;
    margin-left: 5px;
}

.print-type-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.print-type-select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

.print-type-select.required-entry {
    border-color: #e02b27;
}

.print-method-details {
    border: 1px solid #dee2e6;
    border-radius: 0px;
    padding: 20px;
    margin: 5px 0;
}

.print-details-content h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 18px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    display: inline-block;
}

.print-details-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.print-details-info .detail-row {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.print-details-info .detail-row:last-child {
    border-bottom: none;
}

.print-details-info .detail-row strong {
    display: inline-block;
    min-width: 35%;
    color: #6c757d;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.print-details-info .detail-row span {
    color: #495057;
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .print-details-info .detail-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .print-details-info .detail-row strong {
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .print-method-details {
        padding: 15px;
    }
}

/* Animation for details show/hide */
.print-method-details {
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Loading state */
.print-type-select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Validation styling */
.print-options-field .field-error {
    color: #e02b27;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* PFC Decoration Options Styling */
.pfc-decoration-options {
    margin: 0px 0;
}

.pfc-fieldset .legend {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 5px;
}

.pfc-fieldset {
    margin: 0px;
}

.decoration-details {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.detail-item {
    padding: 5px 0;
}

.detail-item strong {
    display: inline-block;
    min-width: 100px;
    margin-right: 10px;
}

.decoration-pricing {
    margin-top: 15px;
    padding: 0px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    padding: 5px 0;
}

.total-pricing {
    border-top: 2px solid #333;
    margin-top: 10px;
    padding-top: 10px;
    font-weight: bold;
    font-size: 1.1em;
}

.pricing-label {
    font-weight: 500;
}

.pricing-value {
    font-weight: bold;
    color: #2d5d2d;
}

.field {
    margin-bottom: 15px;
}

.field .label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.field .control select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.required {
    color: #e02b27;
}

/* Decoration Options Field Styling */
fieldset.pfc-fieldset .decoration-type-field,
.print-location-field,
.logo-size-field {
    margin-bottom: 15px;
    margin: 0 0 0;
}

fieldset.pfc-fieldset .decoration-type-field {
    margin-top: 10px;
}

.decoration-type-select,
.print-location-select,
.decoration-colors-select,
.logo-size-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.decoration-type-select:focus,
.print-location-select:focus,
.decoration-colors-select:focus,
.logo-size-select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

/* Responsive adjustments for decoration options */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .pfc-decoration-options {
        padding: 15px;
    }
    
    .pricing-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Decoration Pricing Breakdown Styles */
.decoration-pricing-details {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin: 15px 0;
    font-family: inherit;
}

.decoration-pricing-details h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 8px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row.total {
    background: #fff;
    margin: 8px -20px -20px -20px;
    padding: 15px 20px;
    border-top: 2px solid #dee2e6;
    font-weight: 600;
    color: #2c3e50;
}

.pricing-row .label {
    color: #6c757d;
    font-size: 14px;
    flex: 1;
}

.pricing-row .value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    text-align: right;
    transition: background-color 0.3s ease;
}

.pricing-row .value.updated {
    background-color: #fabd70;
    border-radius: 3px;
    padding: 0px 3px;
}

.pricing-row.total .label,
.pricing-row.total .value {
    font-size: 16px;
    color: #2c3e50;
}

.pricing-row.total-row {
    border-top: 1px solid #ddd;
    padding-top: 8px;
    font-weight: bold;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}

/* Responsive Design for Decoration Pricing */
@media (max-width: 768px) {
    .decoration-pricing-details {
        padding: 15px;
        margin: 10px 0;
    }
    
    .pricing-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }
    
    .pricing-row .value {
        text-align: left;
        margin-top: 5px;
        font-size: 16px;
    }
    
    .pricing-row.total {
        margin: 8px -15px -15px -15px;
        padding: 15px;
    }
}

/* Quantity Break Button Styling */
.quantity-break-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 3px;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
    line-height: 1.2;
}

.quantity-break-btn .qty {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.quantity-break-btn .price {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}

.quantity-break-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
    text-decoration: none;
}

.quantity-break-btn:hover .price {
    color: #495057;
}

.quantity-break-btn.selected {
    background-color: #007bff;
    border-color: #007bff;
    color: #ffffff;
    font-weight: 600;
}

.quantity-break-btn.selected .qty {
    color: #ffffff;
}

.quantity-break-btn.selected .price {
    color: #ffffff;
    opacity: 0.9;
}

.quantity-break-btn.selected:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #ffffff;
}

.quantity-break-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Quantity break container */
.quantity-breaks {
    margin: 10px 0;
    padding: 10px 0;
}

.quantity-breaks .label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.quantity-break-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

@media (max-width: 768px) {
    .quantity-break-buttons {
        justify-content: center;
    }
    
    .quantity-break-btn {
        min-width: 50px;
        padding: 6px 10px;
        font-size: 13px;
        margin: 2px;
    }
    
    .quantity-break-btn .qty {
        font-size: 13px;
    }
    
    .quantity-break-btn .price {
        font-size: 11px;
    }
}
