/* Header action buttons — full text + icon, always clickable */
.omantel-header-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
    pointer-events: auto !important;
    position: relative;
    z-index: 60;
}

.omantel-header-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px !important;
    border-radius: 12px !important;
    background: var(--color-orange-500, #ff7800) !important;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
    pointer-events: auto !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: none;
}

.omantel-header-action:hover,
.omantel-header-action:focus-visible {
    background: var(--color-orange-600, #ea6e00) !important;
    color: #fff !important;
}

.omantel-header-action svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
}

.omantel-header-action-label {
    display: inline !important;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
}

.omantel-header-action.is-active {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

nav.sticky.top-0 .omantel-header-actions,
nav.sticky.top-0 .omantel-header-actions * {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Omantel logo in header */
nav.sticky.top-0 a.block.w-20,
nav.sticky.top-0 a.block.w-20.lg\:w-26 {
    display: block !important;
    width: 80px !important;
    min-width: 80px;
    height: 24px !important;
    position: relative;
    flex-shrink: 0;
}

nav.sticky.top-0 a.block.w-20 img,
nav.sticky.top-0 a.block.w-20.lg\:w-26 img {
    object-fit: contain !important;
    object-position: center;
}

@media (max-width: 420px) {
    .omantel-header-action {
        padding: 8px 10px !important;
        min-height: 36px;
    }

    .omantel-header-action-label {
        font-size: 12px;
    }
}

/* Top-up page: hide form when payment is shown */
[data-component-identifier="top-up"].omantel-flow-ready .max-w-120 > .flex.flex-col.gap-2,
[data-component-identifier="top-up"].omantel-flow-ready .max-w-120 > .flex.flex-col.border-1 {
    display: none !important;
}

[data-component-identifier="top-up"] .max-w-120 {
    max-width: 480px !important;
    width: 100%;
}

[data-component-identifier="top-up"] .omantel-bill-wrap {
    width: 100%;
}

[data-component-identifier="top-up"] .omantel-bill-header h2 {
    text-align: center;
}

[data-component-identifier="top-up"] .omantel-bill-header-desc {
    text-align: center;
}

[data-component-identifier="top-up"] #omantel-topup-submit.omantel-topup-ready,
[data-component-identifier="top-up"] button.omantel-topup-ready {
    background: var(--color-orange-500, #ff7800) !important;
    border-color: var(--color-orange-500, #ff7800) !important;
    color: #fff !important;
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

[data-component-identifier="top-up"] #omantel-topup-submit:disabled:not(.omantel-topup-ready),
[data-component-identifier="top-up"] button#omantel-topup-submit:disabled:not(.omantel-topup-ready) {
    opacity: 0.45;
    cursor: not-allowed;
}
