.opacity-overlay {
    align-items: center;
    background: rgba(4, 24, 40, .62);
    bottom: 0;
    display: flex !important;
    justify-content: center;
    left: 0;
    outline: none;
    padding: 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10000;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    -webkit-backface-visibility: hidden;
}

.loader-card {
    align-items: center;
    animation: loader-card-in .24s ease-out both;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0, 23, 43, .3);
    color: #22384b;
    display: flex;
    flex-direction: column;
    max-width: 360px;
    overflow: hidden;
    padding: 30px 32px 27px;
    position: relative;
    text-align: center;
    width: 100%;
}

.loader-card::before {
    background: linear-gradient(90deg, #064f82 0 58%, #7eaa3b 58% 100%);
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.loader-card__brand {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 64px;
    position: relative;
    width: 210px;
}

.loader-card__brand::before {
    animation: loader-pulse 1.8s ease-in-out infinite;
    background: rgba(126, 170, 59, .14);
    border-radius: 50%;
    content: '';
    height: 74px;
    position: absolute;
    width: 74px;
}

.loader-card__logo {
    display: block;
    height: auto;
    max-height: 58px;
    position: relative;
    width: 190px;
    z-index: 1;
}

.loader-card__title {
    color: #123d63;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 18px 0 5px;
}

.loader-card__copy {
    color: #687b8c;
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
    max-width: 280px;
}

.loader-card__progress {
    background: #e8eef2;
    border-radius: 999px;
    height: 4px;
    margin-top: 22px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.loader-card__progress::after {
    animation: loader-progress 1.35s cubic-bezier(.65, 0, .35, 1) infinite;
    background: linear-gradient(90deg, #064f82, #0c72ad 58%, #7eaa3b);
    border-radius: inherit;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: translateX(-115%);
    width: 58%;
}

.loader-card--booking {
    max-width: 410px;
    padding: 34px 36px 30px;
}

.loader-card--booking .loader-card__copy {
    max-width: 330px;
}

@keyframes loader-card-in {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes loader-progress {
    0% { transform: translateX(-115%); }
    100% { transform: translateX(190%); }
}

@keyframes loader-pulse {
    0%, 100% { opacity: .35; transform: scale(.86); }
    50% { opacity: .72; transform: scale(1.08); }
}

@media (max-width: 480px) {
    .opacity-overlay { padding: 18px; }
    .loader-card,
    .loader-card--booking { border-radius: 17px; padding: 26px 23px 24px; }
    .loader-card__brand { width: 190px; }
    .loader-card__logo { width: 172px; }
}

@media (prefers-reduced-motion: reduce) {
    .loader-card { animation: none; }
    .loader-card__brand::before { animation: none; opacity: .45; }
    .loader-card__progress::after { animation: none; opacity: .75; transform: none; width: 100%; }
}
