.oleas-esp {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 16px;
    background: #fcfcfc;
}

.oleas-esp-header {
    margin-bottom: 18px;
}

.oleas-esp-title {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.3;
}

.oleas-esp-description,
.oleas-esp-customs-header span,
.oleas-esp-card-description,
.oleas-esp-empty {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.oleas-esp-presets {
    display: grid;
    gap: 14px;
}

.oleas-esp-card {
    padding: 16px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 14px;
    background: #fff;
}

.oleas-esp-card.is-disabled .oleas-esp-card-fields {
    opacity: 0.45;
}

.oleas-esp-card-toggle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    cursor: pointer;
}

.oleas-esp-card-toggle input {
    margin-top: 3px;
}

.oleas-esp-card-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oleas-esp-card-title {
    color: #111827;
    font-size: 15px;
}

.oleas-esp-card-fields,
.oleas-esp-custom-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.oleas-esp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oleas-esp-field-grow {
    grid-column: span 2;
}

.oleas-esp-field-full,
.oleas-esp-note-wrap,
.oleas-esp-inline-actions {
    grid-column: 1 / -1;
}

.oleas-esp-field span {
    color: #374151;
    font-size: 12px;
    font-weight: 600;
}

.oleas-esp-field input,
.oleas-esp-field select,
.oleas-esp-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 10px;
    background: #fff;
}

.oleas-esp-field textarea {
    min-height: 92px;
    resize: vertical;
}

.oleas-esp-field-checkbox {
    justify-content: flex-end;
}

.oleas-esp-checkbox-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 10px;
    background: #fff;
}

.oleas-esp-checkbox-line em {
    color: #4b5563;
    font-size: 12px;
    font-style: normal;
}

.oleas-esp-inline-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.oleas-esp-inline-actions-split {
    justify-content: space-between;
    align-items: center;
}

.oleas-esp-customs {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.oleas-esp-customs-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.oleas-esp-custom-list {
    display: grid;
    gap: 12px;
}

.oleas-esp-add-custom {
    margin-top: 14px;
}

.oleas-esp-remove-custom {
    align-self: end;
}

.woocommerce-checkout .woocommerce-Price-amount.amount,
.woocommerce-checkout-review-order-table .woocommerce-Price-amount.amount,
.woocommerce-order-details .woocommerce-Price-amount.amount,
.rz-modal .woocommerce-Price-amount.amount,
.rz--pricing .woocommerce-Price-amount.amount {
    white-space: nowrap;
}

.woocommerce-checkout .woocommerce-Price-amount.amount bdi,
.woocommerce-checkout-review-order-table .woocommerce-Price-amount.amount bdi,
.woocommerce-order-details .woocommerce-Price-amount.amount bdi,
.rz-modal .woocommerce-Price-amount.amount bdi,
.rz--pricing .woocommerce-Price-amount.amount bdi {
    display: inline-flex;
    align-items: baseline;
    gap: 0.08em;
}

.woocommerce-checkout .woocommerce-Price-currencySymbol,
.woocommerce-checkout-review-order-table .woocommerce-Price-currencySymbol,
.woocommerce-order-details .woocommerce-Price-currencySymbol,
.rz-modal .woocommerce-Price-currencySymbol,
.rz--pricing .woocommerce-Price-currencySymbol {
    display: inline-block;
    line-height: 1;
    transform: translateY(-0.04em);
}

.oleas-booking-pricing-table td:last-child {
    white-space: nowrap;
}

.oleas-booking-pricing-table .oleas-price-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 0.08em;
    white-space: nowrap;
}

.oleas-booking-pricing-table .oleas-price-inline .rz--currency,
.oleas-booking-pricing-table .oleas-price-inline .rz--amount {
    display: inline-block;
    line-height: 1;
}

.oleas-booking-pricing-table .oleas-price-inline .rz--currency {
    transform: translateY(-0.04em);
}

@media (max-width: 768px) {
    .oleas-esp {
        padding: 16px;
    }

    .oleas-esp-card-fields,
    .oleas-esp-custom-row {
        grid-template-columns: 1fr;
    }

    .oleas-esp-field-grow {
        grid-column: span 1;
    }
}
