/* Sarik Print Orders — form styles */

.sarik-print-wrap {
    max-width: 640px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sarik-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.sarik-card--success {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.sarik-success-icon {
    width: 56px;
    height: 56px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 50%;
    font-size: 28px;
    line-height: 56px;
    margin: 0 auto 1rem;
}

.sarik-step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
}

.sarik-step-num {
    width: 28px;
    height: 28px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Upload zone */
.sarik-upload-zone {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    color: #6b7280;
}

.sarik-upload-zone:hover {
    border-color: #6366f1;
    background: #f5f3ff;
}

.sarik-upload-zone svg {
    margin: 0 auto 0.5rem;
    display: block;
}

.sarik-upload-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    margin: 0 0 4px;
}

.sarik-upload-sub {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
}

.sarik-file-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #374151;
}

.sarik-remove-file {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
    padding: 0;
}

.sarik-remove-file:hover { color: #ef4444; }

/* Progress bar */
.sarik-upload-progress { margin-top: 12px; }

.sarik-progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.sarik-progress-fill {
    height: 100%;
    background: #6366f1;
    border-radius: 3px;
    width: 0%;
    transition: width 0.2s;
}

.sarik-progress-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 6px 0 0;
}

/* Fields */
.sarik-field { margin-bottom: 1.1rem; }
.sarik-field:last-child { margin-bottom: 0; }

.sarik-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
}

.sarik-hint {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0 0 6px;
}

.sarik-static-value {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.sarik-badge {
    display: inline-block;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.85rem;
}

.sarik-input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #111;
    background: #fff;
    transition: border-color 0.15s;
}

.sarik-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.sarik-input--short { max-width: 120px; }

.sarik-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sarik-unit {
    font-size: 0.9rem;
    color: #6b7280;
    white-space: nowrap;
}

/* Summary */
.sarik-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.sarik-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6b7280;
    padding: 4px 0;
}

.sarik-summary-row--total {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    border-top: 1px solid #e5e7eb;
    margin-top: 6px;
    padding-top: 10px;
}

/* Buttons */
.sarik-pay-buttons { display: flex; flex-direction: column; gap: 10px; }

.sarik-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
}

.sarik-btn:hover { opacity: 0.88; }
.sarik-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.sarik-btn--stripe { background: #635bff; color: #fff; }
.sarik-btn--paypal { background: #ffc439; color: #003087; }

.sarik-or {
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Notices */
.sarik-notice {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.sarik-notice--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.sarik-notice--warn  { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.sarik-notice--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

.sarik-field--laser-parts {
    margin-top: 1.25rem;
}

.sarik-field--laser-parts .sarik-notice {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Session timer */
.sarik-timer {
    text-align: center;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Link-style button inside notices */
.sarik-link-btn {
    background: none;
    border: none;
    text-decoration: underline;
    color: #991b1b;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    margin-left: 6px;
}

/* Optional label tag */
.sarik-optional {
    font-weight: 400;
    color: #9ca3af;
}

/* Checkbox field */
.sarik-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
}

.sarik-checkbox-label input[type=checkbox] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #6366f1;
    flex-shrink: 0;
}

/* Secondary button (Add another PDF) */
.sarik-btn--secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    margin-top: 14px;
    width: 100%;
}

/* Item rows */
.sarik-items-list { margin-top: 14px; }

.sarik-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.sarik-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 180px;
}

.sarik-item-file {
    font-size: 0.88rem;
    font-weight: 500;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sarik-item-dims {
    font-size: 0.78rem;
    color: #6b7280;
}

.sarik-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sarik-item-copies-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #6b7280;
}

.sarik-item-copies {
    width: 52px;
    padding: 5px 6px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
}

.sarik-item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    min-width: 60px;
    text-align: right;
}

.sarik-item-remove {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.sarik-item-remove:hover { color: #ef4444; }

/* Postage options */
.sarik-postage-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sarik-postage-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
    transition: border-color 0.15s, background 0.15s;
}

.sarik-postage-option:hover {
    border-color: #6366f1;
}

.sarik-postage-option.selected {
    border-color: #6366f1;
    background: #f5f3ff;
}

.sarik-postage-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sarik-postage-option input[type=radio] {
    accent-color: #6366f1;
}

.sarik-postage-option-price {
    font-weight: 600;
    color: #111;
}
