/* ============================================================
   Portal — shared financial UI styles
   ============================================================ */

:root {
    --kpa-primary: #0a5eab;
    --kpa-primary-dark: #084a86;
    --kpa-secondary: #0abde5;
}

/* ── Stat cards ── */
.inv-stat-card {
    border-radius: 14px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    border: none;
}
.inv-stat-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    top: -20px;
    right: -20px;
}
.inv-stat-card .stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}
.inv-stat-card .stat-value {
    font-size: 1.7rem;
    font-weight: 500;
    color: #fff;
    line-height: 1;
    margin-bottom: 2px;
}
.inv-stat-card .stat-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
}
.inv-stat-card .stat-icon {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
}

/* ── Table card wrapper ── */
.fin-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f0f0f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* ── Card header ── */
.fin-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.fin-card-header h5 {
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}
.biller-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e5f0f9;
    border: 1px solid #0a5eab40;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #0a5eab;
}

/* ── Controls bar (search / filters) ── */
.fin-controls {
    padding: 12px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.fin-search {
    flex: 1;
    min-width: 200px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 7px 10px 7px 34px;
    font-size: 0.82rem;
    color: #1f2937;
    background: #fff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E")
        no-repeat 10px center;
    outline: none;
    transition: border-color 0.2s;
}
.fin-search:focus {
    border-color: #0a5eab;
}

.select-all-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    white-space: nowrap;
}
.select-all-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0a5eab;
    cursor: pointer;
}

/* ── Shared table ── */
.fin-table {
    width: 100%;
    border-collapse: collapse;
}
.fin-table thead tr {
    background: linear-gradient(135deg, #0a5eab 0%, #084a86 100%);
}
.fin-table thead th {
    padding: 11px 14px;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    border: none;
}
.fin-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
}
.fin-table tbody tr:nth-child(even) {
    background: #fafbfc;
}
.fin-table tbody tr:hover {
    background: #e5f0f9;
}
.fin-table tbody td {
    padding: 10px 14px;
    font-size: 0.82rem;
    color: #374151;
    vertical-align: middle;
}
.row-num {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
}
.bill-num {
    font-weight: 500;
    font-size: 0.8rem;
    color: #0a5eab;
}
.prn-num {
    font-weight: 500;
    font-size: 0.8rem;
    color: #0a5eab;
}
.amount-usd {
    font-weight: 500;
    color: #1f2937;
}
.amount-local {
    font-weight: 500;
    color: #065f46;
}
.muted-date {
    font-size: 0.78rem;
    color: #6b7280;
}

/* ── Status badges ── */
.fin-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.fin-badge-blue {
    background: #dbeafe;
    color: #1e40af;
}
.fin-badge-green {
    background: #d1fae5;
    color: #065f46;
}
.fin-badge-grey {
    background: #f3f4f6;
    color: #6b7280;
}
.fin-badge-dark {
    background: #e5e7eb;
    color: #374151;
}
.fin-badge-amber {
    background: #fef3c7;
    color: #92400e;
}
.fin-badge-red {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Action cell ── */
.action-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.cb-select {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #0a5eab;
    cursor: pointer;
}
.cb-select input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #0a5eab;
    cursor: pointer;
}
.cb-selected {
    color: var(--kpa-primary-dark);
}
.cb-selected input[type="checkbox"] {
    accent-color: var(--kpa-primary-dark);
}

.dl-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #059669;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 6px;
    background: #d1fae5;
    transition: background 0.15s;
}
.dl-link:hover {
    background: #a7f3d0;
    color: #047857;
}

.view-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #0a5eab;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 6px;
    background: #e5f0f9;
    transition: background 0.15s;
}
.view-link:hover {
    background: #d0ddf5;
    color: #0a5eab;
}

.pay-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #065f46;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 6px;
    background: #d1fae5;
    transition: background 0.15s;
}
.pay-link:hover {
    background: #a7f3d0;
    color: #047857;
}

/* ── Primary action button (PRN / request) ── */
.prn-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #0a5eab 0%, #084a86 100%);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}
.prn-btn:hover {
    background: linear-gradient(135deg, #0abde5 0%, #084a86 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(8, 74, 134, 0.3);
    transform: translateY(-1px);
}

/* ── Inline alerts ── */
.fin-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 12px;
}
.fin-alert-info {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    color: #1e40af;
}
.fin-alert-warn {
    background: #fff7ed;
    border-left: 3px solid #f59e0b;
    color: #92400e;
}
.fin-alert-danger {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
    color: #991b1b;
}
.fin-alert-success {
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
    color: #166534;
}

/* ── Empty state ── */
.fin-empty {
    text-align: center;
    padding: 48px 20px;
    color: #9ca3af;
}
.fin-empty i {
    font-size: 2.5rem;
    opacity: 0.3;
    margin-bottom: 12px;
    display: block;
}
.fin-empty p {
    font-size: 0.88rem;
}

/* ── Page breadcrumb strip ── */
.fin-breadcrumb {
    background: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 0.82rem;
}

/* ── Modal shared styles ── */
.fin-modal-header {
    background: linear-gradient(135deg, #0a5eab 0%, #084a86 100%);
    border: none;
}
.fin-modal-header .modal-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}
.fin-modal-footer {
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

/* ── Notification dropdown ── */
.notification-dropdown.onhover-show-div {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(13, 43, 92, 0.12);
    border-radius: 10px;
}
.notification-dropdown.onhover-show-div > li:first-child {
    background: linear-gradient(135deg, #0a5eab 0%, #084a86 100%);
    padding: 14px 16px !important;
}
.notification-dropdown.onhover-show-div > li:first-child p {
    color: #fff;
}
.notification-dropdown.onhover-show-div > li:first-child .badge-primary {
    background-color: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}
.notification-dropdown.onhover-show-div li.noti-secondary {
    max-height: 64px;
    overflow: hidden;
    transition: background-color 0.15s ease;
}
.notification-dropdown.onhover-show-div li.noti-secondary a {
    display: block;
}
.notification-dropdown.onhover-show-div li.noti-secondary .media-body p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}
.notification-dropdown.onhover-show-div li.text-center {
    padding: 28px 16px !important;
}

/* ============================================================
   Checkout — payment page
   ============================================================ */

.checkout-summary-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f5;
    box-shadow:
        0 8px 30px rgba(8, 74, 134, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}
.checkout-summary-header {
    background: linear-gradient(135deg, #0a5eab 0%, #084a86 100%);
    padding: 18px 22px;
}
.checkout-summary-header h5 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.checkout-summary-body {
    padding: 20px 22px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px dashed #eef0f4;
    font-size: 0.84rem;
}
.summary-row:last-child {
    border-bottom: none;
}
.summary-row .summary-label {
    color: #6b7280;
    font-weight: 500;
}
.summary-row .summary-value {
    color: #1f2937;
    font-weight: 600;
}

.checkout-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    margin-top: 4px;
    border-top: 2px solid #f0f0f5;
    background: #f9fafb;
}
.checkout-total-row .total-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    font-weight: 600;
}
.checkout-total-row .total-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #084a86;
}

.checkout-section-title {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9ca3af;
    margin: 4px 0 12px;
}

/* ── Payment method tiles ── */
.payment-method-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 10px;
    background: #fff;
}
.payment-method-option:hover {
    border-color: #0a5eab80;
    background: #f9fbfd;
}
.payment-method-option.selected {
    border-color: transparent;
    background: linear-gradient(135deg, #0a5eab 0%, #084a86 100%);
    box-shadow: 0 4px 14px rgba(8, 74, 134, 0.25);
}
.payment-method-option .pmo-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5f0f9;
    color: #0a5eab;
    font-size: 1.1rem;
    transition:
        background 0.15s,
        color 0.15s;
}
.payment-method-option.selected .pmo-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.payment-method-option .pmo-body {
    flex: 1;
    min-width: 0;
}
.payment-method-option .pmo-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}
.payment-method-option.selected .pmo-title {
    color: #fff;
}
.payment-method-option .pmo-sub {
    font-size: 0.72rem;
    color: #9ca3af;
    margin: 0;
}
.payment-method-option.selected .pmo-sub {
    color: rgba(255, 255, 255, 0.75);
}
.payment-method-option .pmo-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.payment-method-option.selected .pmo-radio {
    border-color: #fff;
}
.payment-method-option.selected .pmo-radio::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
}
.payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* ── Pay CTA button ── */
.checkout-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    background: linear-gradient(135deg, #0a5eab 0%, #084a86 100%);
    color: #fff;
    border: none;
    border-radius: 11px;
    padding: 13px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s;
}
.checkout-pay-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #0abde5 0%, #084a86 100%);
    box-shadow: 0 6px 18px rgba(8, 74, 134, 0.32);
    transform: translateY(-1px);
    color: #fff;
}
.checkout-pay-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ── OTP send loader ── */
.otp-loader {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #e5f0f9 100%);
    border: 1px solid #dbeafe;
}
.otp-loader .otp-loader-icon {
    position: relative;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a5eab;
    font-size: 0.95rem;
    box-shadow: 0 0 0 0 rgba(10, 94, 171, 0.4);
    animation: otpPulseRing 1.4s ease-out infinite;
}
@keyframes otpPulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 94, 171, 0.35);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(10, 94, 171, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(10, 94, 171, 0);
    }
}
.otp-loader .otp-loader-body {
    flex: 1;
    min-width: 0;
}
.otp-loader .otp-loader-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #084a86;
    margin: 0 0 6px;
}
.otp-loader .otp-loader-track {
    height: 5px;
    border-radius: 4px;
    background: #dbeafe;
    overflow: hidden;
}
.otp-loader .otp-loader-fill {
    height: 100%;
    width: 40%;
    border-radius: 4px;
    background: linear-gradient(90deg, #0a5eab, #0abde5);
    animation: otpLoaderShimmer 1.1s ease-in-out infinite;
}
@keyframes otpLoaderShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(350%);
    }
}

/* ── Compact inline loader (OTP validate, etc.) ── */
.mini-loader {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #084a86;
    font-weight: 500;
}
.mini-loader .mini-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2.5px solid #dbeafe;
    border-top-color: #0a5eab;
    animation: miniSpin 0.7s linear infinite;
}
@keyframes miniSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── OTP code input ── */
.otp-code-input {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-align: center;
    color: #084a86;
    background: #f9fafb;
    outline: none;
    transition:
        border-color 0.15s,
        background 0.15s;
}
.otp-code-input:focus {
    border-color: #0a5eab;
    background: #fff;
}
.otp-code-input::placeholder {
    letter-spacing: normal;
    font-weight: 400;
    color: #b0b6c0;
    font-size: 0.78rem;
}

.otp-resend-link {
    font-size: 0.78rem;
    font-weight: 500;
    color: #0a5eab;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.otp-resend-link:hover {
    color: #084a86;
    text-decoration: underline;
}

/* ── Secure trust footer ── */
.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 10px;
    font-size: 0.74rem;
    color: #6b7280;
    text-align: center;
}
.secure-badge i {
    color: #0a5eab;
    font-size: 0.95rem;
}

/* ── App switcher ── */
.app-switcher {
    position: relative;
}

.app-switcher-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.15s;
}
.app-switcher-trigger:hover {
    background: #e5f0f9;
    color: #0a5eab;
}
.app-switcher-trigger i {
    font-size: 1.15rem;
}

.app-switcher-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.14),
        0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f5;
    z-index: 9999;
    overflow: hidden;
}
.app-switcher.open .app-switcher-panel {
    display: block;
    animation: appSwitcherSlideIn 0.18s ease;
}
@keyframes appSwitcherSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-switcher-header {
    background: linear-gradient(135deg, #0a5eab 0%, #0abde5 60%, #084a86 100%);
    padding: 14px 16px 12px;
}
.app-switcher-header h6 {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 2px 0;
}
.app-switcher-header p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    margin: 0;
}

.app-switcher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 14px;
}
.app-switcher-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 6px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #f0f0f5;
    text-align: center;
    cursor: default;
    transition: background 0.15s;
}
.app-switcher-item:hover {
    background: #e5f0f9;
}
.app-switcher-item .app-switcher-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0a5eab 0%, #0abde5 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0.5;
}
.app-switcher-item .app-switcher-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: #9ca3af;
}
.app-switcher-item .app-switcher-soon {
    font-size: 0.58rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0a5eab;
    background: #e5f0f9;
    border-radius: 20px;
    padding: 1px 6px;
}

/* login css */
.kp-pulse {
    animation: kp-pulse-anim 2s infinite;
}

@keyframes kp-pulse-anim {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 94, 171, 0.6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(10, 94, 171, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(10, 94, 171, 0);
    }
}

.kp-caret {
    display: inline-block;
    color: var(--kpa-secondary);
    animation: kp-caret-blink 0.9s step-end infinite;
}

@keyframes kp-caret-blink {
    50% {
        opacity: 0;
    }
}

.form-control:focus {
    border-color: var(--kpa-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(10, 94, 171, 0.15) !important;
    background-color: #fff !important;
}

.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control {
    background-color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
    .kp-pulse,
    .kp-caret {
        animation: none;
    }
}

.kp-input {
    height: 52px;
    border-radius: 14px;
    border: 1.5px solid #e7ebf3;
    background-color: #f8f9fc;
    font-size: 0.94rem;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.kp-input:focus {
    border-color: var(--kpa-primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(10, 94, 171, 0.12);
}

.kp-input.is-invalid {
    border-color: #e14b4b;
    background-color: #fff7f7;
}

.kp-submit {
    height: 52px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--kpa-primary) 0%,
        var(--kpa-primary-dark) 100%
    );
    box-shadow: 0 10px 24px -10px rgba(10, 94, 171, 0.45);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

.kp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(10, 94, 171, 0.55);
    filter: brightness(1.05);
    color: #fff;
}

.kp-submit:active {
    transform: translateY(0);
}

.kp-submit:focus-visible {
    outline: 3px solid var(--kpa-secondary);
    outline-offset: 2px;
}

/* OTP css */
.otp-box {
    width: 48px;
    height: 56px;
    font-size: 1.4rem;
    border-radius: 12px;
    border: 1.5px solid #e2e6f0;
    color: #10131c;
    background-color: #f8f9fc;
    transition: all 0.2s ease;
}

.otp-box:focus {
    border-color: #407bff !important;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(64, 123, 255, 0.12);
    outline: none;
}

@media (max-width: 400px) {
    .otp-box {
        width: 42px;
        height: 52px;
        font-size: 1.2rem;
    }
}

/* session status UI */
.kp-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.4;
    border: 1px solid transparent;
}

.kp-alert-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
}

.kp-alert-content {
    padding-top: 3px;
    color: #374151;
}

/* Success */
.kp-alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.kp-alert-success .kp-alert-icon {
    background: #16a34a;
}

/* Warning */
.kp-alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.kp-alert-warning .kp-alert-icon {
    background: #f59e0b;
}

/* Danger */
.kp-alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
}

.kp-alert-danger .kp-alert-icon {
    background: #dc2626;
}
