@font-face {
    font-family: 'Urbanist';
    src: url('fonts/urbanist/Urbanist-Regular.eot');
    src: url('fonts/urbanist/Urbanist-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/urbanist/Urbanist-Regular.woff2') format('woff2'),
         url('fonts/urbanist/Urbanist-Regular.woff') format('woff'),
         url('fonts/urbanist/Urbanist-Regular.ttf') format('truetype'),
         url('fonts/urbanist/Urbanist-Regular.svg#Urbanist') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Urbanist-Medium';
    src: url('fonts/urbanist/Urbanist-Medium.eot');
    src: url('fonts/urbanist/Urbanist-Medium.eot?#iefix') format('embedded-opentype'),
         url('fonts/urbanist/Urbanist-Medium.woff2') format('woff2'),
         url('fonts/urbanist/Urbanist-Medium.woff') format('woff'),
         url('fonts/urbanist/Urbanist-Medium.ttf') format('truetype'),
         url('fonts/urbanist/Urbanist-Medium.svg#Urbanist-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Urbanist-Bold';
    src: url('fonts/urbanist/Urbanist-Bold.eot');
    src: url('fonts/urbanist/Urbanist-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/urbanist/Urbanist-Bold.woff2') format('woff2'),
         url('fonts/urbanist/Urbanist-Bold.woff') format('woff'),
         url('fonts/urbanist/Urbanist-Bold.ttf') format('truetype'),
         url('fonts/urbanist/Urbanist-Bold.svg#Urbanist-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-navy: #182C64;
    --color-navy-light: #2E74EA;
    --main-bg-color: #ffffff;
    --color-primary: #182C64;
    --color-label: #182C64;
    --color-text: #182C64;
    --color-text-muted: rgba(24, 44, 100, 0.55);
    --gradient-primary: linear-gradient(135deg, #182C64 0.46%, #2E74EA 99.39%);
    --font-regular: 'Urbanist', sans-serif;
    --font-medium: 'Urbanist-Medium', sans-serif;
    --font-bold: 'Urbanist-Bold', sans-serif;
    --montserrat-medium: 'Urbanist', sans-serif;
    --montserrat-semibold: 'Urbanist-Bold', sans-serif;
}

body {font-family: var(--font-regular);}
.main.main--providers {padding-top: 175px}
.main, .search-bar-wrap, .provider-types-slider {background: var(--main-bg-color);}

/* Search bar */
.search-bar-wrap {left: 16px; right: 16px; width: calc(100% - 32px); padding: 12px 16px 8px;}
[data-route="providers"] .search-bar-wrap {padding: 12px 16px 15px;}
.search-bar-row .search-bar {margin-bottom: 0;}
.search-bar-input {
    border-radius: 28px;
    background: #F2F4F8;
    border: none;
    box-shadow: none;
    padding: 12px 8px 12px 36px;
    min-height: auto;
    font-size: 14px;
    font-family: var(--font-regular);
    color: var(--color-navy);
}

.search-bar-input::placeholder {
    color: rgba(24, 44, 100, 0.55);
    font-family: var(--font-regular);
    font-size: 14px;
}

.search-bar-input:hover,
.search-bar-input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.search-bar-icon {
    left: 8px;
    right: auto;
    color: rgba(24, 44, 100, 0.55);
}

.search-bar-icon svg {
    color: rgba(24, 44, 100, 0.55);
    stroke: rgba(24, 44, 100, 0.55);
}

.show-search-view .search-bar-input,
#app[data-route="providers"] .show-search-view .search-bar-input {
    padding: 12px 8px 12px 36px;
}

/* Payment history bar */
.payment-history-bar-link {
    border: 1px solid var(--color-navy);
    padding: 15.5px 12px;
    border-radius: 12px;
    background: transparent;
    color: var(--color-navy);
}

.payment-history-bar-link .search-bar-icon {
    display: none;
}

.payment-history-bar-label {
    margin: 0;
    text-align: center;
    font-family: var(--font-bold);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-navy);
}

/* Tab bar (provider type chips) */
#app[data-route="subcategories"] .subcategories-inline .subcategories-tabs.provider-types-slider {
    width: calc(100% - 40px);
    margin: auto auto 22px auto;
    padding: 12px 0 10px 0;
}
.provider-types-slider {
    top: 110px;
    margin: 30px 16px 0;
    /* left: 0; */
    /* right: 0; */
    padding: 4px;
    /* gap: 4px; */
    height: 30px;
    align-items: center;
    /* background: #ffffff; */
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.provider-type-chip {
    text-transform: none;
    font-family: var(--font-bold);
    color: var(--color-navy);
    font-weight: 700;
    font-size: 12px;
    background: transparent;
    border: none;
    border-radius: 11px;
    padding: 5px 4px;
    transition: color 100ms ease-in-out, background 100ms ease-in-out;
}

.provider-type-chip:hover {
    color: var(--color-navy);
    border: none;
}

.provider-type-chip--active,
.provider-type-chip--active:hover {
    background: var(--gradient-primary);
    border: none;
    border-radius: 11px;
    box-shadow: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 30px;
}

/* Provider sections */
.provider-section {
    scroll-margin-top: 180px;
    background: #ffffff;
    border-radius: 14px;
    margin: 10px 30px 10px 10px
}

.provider-section-title {
    color: var(--color-navy);
    font-family: var(--font-bold);
}

.form-group input, .form-group select {
    border-radius: 12px;
}

.biller-card {
    border-radius: 12px;
}

.error-banner {
    border-radius: 12px;
}

.card-title {
    color: rgba(24, 44, 100, 0.55);
}

/* Buttons */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    box-shadow: none;
}

.btn-primary:disabled {
    background: var(--gradient-primary);
    opacity: 0.55;
}

.btn-block,
.btn-primary.btn-block,
.btn-secondary.btn-block {
    /* width: 100%;
    margin: 25px 0 calc(4vh) 0; */
    min-height: 46px;
    line-height: 46px;
    padding: 0;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    box-shadow: none;
    font-family: var(--font-bold);
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    text-align: center;
}

.btn-block:hover,
.btn-block:focus-visible,
.btn-primary.btn-block:hover,
.btn-primary.btn-block:focus-visible,
.btn-secondary.btn-block:hover,
.btn-secondary.btn-block:focus-visible {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    box-shadow: none;
    opacity: 0.95;
}

.detail-action--recharge,
.detail-action--plans,
.detail-action--recharge:hover,
.detail-action--plans:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
}

/* Detail & history */
.detail-product-name,
.detail-value {
    color: var(--color-navy);
}

.detail-label {
    color: rgba(24, 44, 100, 0.55);
}

.recent-payments-date-filter-label {
    color: var(--color-navy);
}

.history-date-sheet-trigger-icon {
    color: var(--color-navy);
}

.history-date-sheet-trigger {
    background: var(--main-bg-color);
    border: 1px solid var(--color-navy);
    color: var(--color-navy);
}

/* Forms */
.form-group label {
    font-family: var(--font-bold);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-navy);
}

.form-group .hint {
    font-family: var(--font-regular);
    font-size: 12px;
    color: rgba(24, 44, 100, 0.55);
}

.form-group .error-msg {
    font-family: var(--font-regular);
    font-size: 12px;
    color: #dc2626;
}

/* Loading */
.loading {
    background: rgba(255, 255, 255, 0.8);
    gap: 16px;
    min-height: 120px;
    color: var(--color-navy);
}

.loading p {
    font-family: var(--font-medium);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-navy);
    text-decoration: none;
    margin: 0;
}

.loading-spinner {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    position: relative;
    margin: 0 auto;
    animation: almawaredDotWave 1.2s ease-in-out infinite;
    animation-delay: 0.4s;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: almawaredDotWave 1.2s ease-in-out infinite;
}

.loading-spinner::before {
    left: -20px;
    animation-delay: 0s;
}

.loading-spinner::after {
    left: 20px;
    animation-delay: 0.8s;
}

@keyframes almawaredDotWave {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.45;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
