/* Acciones del cliente sobre un pedido: cancelar y reclamar (js/core/order-actions.js) */
.oa-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #e7e5e1;
    border-radius: 12px;
    background: #fafaf9;
    text-align: left;
}

.oa-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.oa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #111;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.oa-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.oa-btn--primary {
    background: #111;
    color: #fff;
}

.oa-btn--danger {
    border-color: #b4232a;
    color: #b4232a;
}

.oa-btn--danger[data-oa-confirm-yes] {
    background: #b4232a;
    color: #fff;
}

.oa-btn--ghost:hover,
.oa-btn--danger:hover {
    background: #f3f2f0;
}

.oa-btn--danger[data-oa-confirm-yes]:hover,
.oa-btn--primary:hover {
    opacity: 0.9;
    background-color: inherit;
}

.oa-confirm,
.oa-claim-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oa-confirm[hidden],
.oa-claim-form[hidden],
.oa-preview[hidden],
.oa-error[hidden] {
    display: none;
}

.oa-confirm-title {
    margin: 0;
    font-weight: 700;
    color: #111;
}

.oa-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
}

.oa-label span {
    font-weight: 400;
    color: #666;
}

.oa-input,
.oa-file {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: 0.92rem;
    box-sizing: border-box;
}

.oa-preview {
    max-width: 220px;
    max-height: 220px;
    border-radius: 10px;
    border: 1px solid #e7e5e1;
    object-fit: cover;
}

.oa-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.oa-error {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fdecec;
    color: #9f1c22;
    font-size: 0.86rem;
}

.oa-done {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #1d6b3a;
    font-weight: 600;
}
