/* استایل عمومی افزونه چاپخانه */
.psa-order-form-wrap,
.psa-tracking-wrap,
.psa-dashboard-wrap,
.psa-services-list {
    max-width: 800px;
    margin: 0 auto;
    font-family: Tahoma, "Segoe UI", sans-serif;
    direction: rtl;
}

.psa-title {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: #1a1a2e;
    border-bottom: 3px solid #e94560;
    padding-bottom: 10px;
    display: inline-block;
}

.psa-form .psa-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.psa-form .psa-section h3 {
    margin: 0 0 16px;
    font-size: 1.1rem;
    color: #333;
}

.psa-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.psa-col {
    flex: 1 1 200px;
}

.psa-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

.psa-form input[type="text"],
.psa-form input[type="email"],
.psa-form input[type="tel"],
.psa-form input[type="number"],
.psa-form select,
.psa-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.psa-form input:focus,
.psa-form select:focus,
.psa-form textarea:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}

.psa-item-row {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
}

.psa-item-price {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #555;
}

.psa-item-price strong {
    color: #e94560;
    font-size: 1.1rem;
}

.psa-total-box {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 18px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.psa-total-box strong {
    font-size: 1.5rem;
    color: #e94560;
}

.psa-total-box small {
    opacity: 0.7;
    font-size: 0.8rem;
    width: 100%;
}

.psa-btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.psa-btn-primary {
    background: #e94560;
    color: #fff;
}

.psa-btn-primary:hover {
    background: #c73a52;
}

.psa-btn-secondary {
    background: #e9ecef;
    color: #333;
    margin-top: 8px;
}

.psa-btn-secondary:hover {
    background: #dee2e6;
}

.psa-actions {
    text-align: center;
    margin-top: 10px;
}

.psa-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 8px;
    font-weight: 500;
}

.psa-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.psa-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Tracking */
.psa-tracking-result {
    margin-top: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e9ecef;
}

.psa-tracking-result h3 {
    margin-top: 0;
    color: #1a1a2e;
}

.psa-status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Services list */
.psa-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 100%;
}

.psa-service-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.psa-service-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.psa-service-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.psa-service-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
}

.psa-service-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
}

.psa-price {
    color: #e94560;
    font-weight: 700;
}

.psa-days {
    color: #888;
}

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

.psa-table th,
.psa-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e9ecef;
    text-align: right;
}

.psa-table th {
    background: #f1f3f5;
    font-weight: 600;
}

.psa-notice {
    background: #fff3cd;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #ffc107;
}

@media (max-width: 600px) {
    .psa-row {
        flex-direction: column;
    }
    .psa-col {
        flex: 1 1 100%;
    }
}

/* چاپ روی لباس */
.psa-apparel-row {
    background: #f0f7ff;
    border: 1px dashed #90c2ff;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}
.psa-print-positions label {
    cursor: pointer;
}
.psa-print-positions label:hover {
    background: #e7f1ff !important;
}
