:root {
    --primary: #0d73c3;
    --primary-dark: #08559d;
    --accent: #ffcf33;
    --text: #1d2e49;
    --muted: #8fa0b8;
    --bg: #f8fbff;
    --card-bg: #ffffff;
    --shadow: 0 20px 50px rgba(17, 44, 94, 0.08);
    font-size: 16px;
}
* {
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    margin: 0;
    color: var(--text);
}
main {
    padding: 0px 20px;
    max-width: 480px;
    margin: 0 auto;
}
.top-bar {
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 64, 141, 0.08);
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    line-height: 1.2;
}
.logo-title {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}
.logo-text span {
    color: var(--muted);
    font-size: 0.75rem;
}
.menu-toggle {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
}
.mobile-menu__panel {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 64, 141, 0.08);
}

.mobile-menu__top .logo img {
    width: auto;
    height: auto;
    max-height: 46px;
}

.mobile-menu__content {
    padding: 1.5rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-close {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__info {
    line-height: 1.4;
}

.mobile-menu__info p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.mobile-menu__info a {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
}

.mobile-menu__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.25rem 0;
}

.mobile-menu__links svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
}

.hero-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cta-button {
    border: none;
    border-radius: 0.6rem;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #307DBF;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
}

.filters {
    margin-top: 1.5rem;
}

.filter-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dropdown {
    position: relative;
}

.dropdown.open .filter-select {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(13, 115, 195, 0.15);
}

.filter-select {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid #dfe7f6;
    font-size: 14px;
    font-weight: 400;
    color: #6D6C6C;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.filter-select svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.filter-select img {
    width: 22px;
    height: 22px;
}

.selected-label {
    text-align: left;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 1rem;
    padding: 0.5rem 0;
    box-shadow: 0 25px 60px rgba(15, 64, 141, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.dropdown.open .dropdown-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 210px;
    overflow-y: auto;
}

.dropdown-option {
    width: 100%;
    padding: 0.7rem 1.1rem;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-option:hover,
.dropdown-option.active {
    background: #e7f0ff;
    color: var(--primary-dark);
}

.dropdown-option .option-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cashback-link {
    margin-top: 24px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #307DBF;
    font-weight: 500;
    text-decoration: underline;
}

.cashback-link img {
    width: 18px;
    height: 18px;
}

.calendar {
    /*padding: 0.5rem 0.75rem 0.75rem;*/
}
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.calendar-title {
    margin: 0;
    font-weight: 600;
}

.calendar-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #eef5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.calendar-arrow svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

.calendar-cell {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text);
}

.calendar-cell.weekday {
    font-weight: 600;
    color: var(--muted);
}

.calendar-cell.empty {
    visibility: hidden;
}

.calendar-cell.day {
    cursor: pointer;
    width: 38px;
    height: 38px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    outline: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.calendar-cell.day:hover {
    background: #eef5ff;
    color: var(--primary);
}

.calendar-cell.today:not(.selected) {
    color: var(--primary);
    font-weight: 600;
}

.calendar-cell.selected {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.specialists {
    margin-top: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.section-header a {
    text-decoration: none;
    color:#0F0F0F;
    font-size: 10px;
}
.section-header a span {
    color: #017dc5;
}

.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* doctor cards */
.doctor-card {
    background: white;
    border-radius: 24px;
    padding: 16px;
    box-shadow: -7px 5px 30px 0 rgba(143, 141, 141, 0.1);
    display: flex;
    flex-direction: column;
    gap:12px;
}

.doctor-card__content {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.doctor-photo {
    width: 110px;
    flex-shrink: 0;
    position: relative;
}

.doctor-photo img {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius:12px;
    display: block;
}

.clinic-tag {
    position: absolute;
    left: 6px;
    bottom: 16px;
    transform: translateY(50%);
    background: #fff;
    color: var(--text);
    border-radius: 999px;
    font-size: 10px;
    padding: 3px 4px;
    box-shadow: 0 15px 35px rgba(15, 54, 112, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
}

.clinic-tag img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    display: block;
}

.doctor-info {
    flex: 1;
}

.stat-group {
    display: inline-flex;
    align-items: stretch;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 6px 0px;
    border: none;
}

.stat {
    padding: 0px 8px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.8);
}

.stat:last-child {
    border-right: none;
}

.stat p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    color: #0F0F0F;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    white-space: nowrap;
}

.stat span {
    font-size: 10px;
    color: #6D6C6C;
}

.stat .star-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: url('../images/icon-star.svg') no-repeat center / contain;
}

.doctor-info h3 {
    margin: 0.65rem 0 0.35rem;
    font-size: 1.12rem;
    font-weight: 600;
    color: #222f44;
}

.doctor-tags {
    margin: 0;
    font-size: 12px;
    color: #6D6C6C;
    line-height: 1.4;
}

.doctor-tags .extra-tags {
    display: none;
}

.doctor-tags.expanded .extra-tags {
    display: inline;
}

.tags-toggle {
    border: none;
    background: none;
    padding: 0;
    margin-left: 0.35rem;
    color: #307DBF;
    font-weight: 400;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
}

.doctor-tags.expanded .tags-toggle {
   color: #307DBF;
}

/* price section */
.price-row {
    margin-top: 0.2rem;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    padding-top: 0.95rem;
    border-top: 1px solid #e5eaf4;
    align-items: end;
}

.price-info {
    margin-left: auto;
    text-align: right;
}
.price-info ._name_cash {
    margin: 0px;
    font-size: 11px;
    color: #6D6C6C;
    margin-bottom: 6px;
}
.price-label {
    font-size: 0.82rem;
    margin: 0;
    color: #7f8aa2;
    font-weight: 500;
}

.price {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #0F0F0F;
}
._sup_price {
    font-size: 10px;
    background: #f3b75a;
    border-radius: 100px;
    padding: 2px 4px;
    display: flex;
    gap: 3px;
    align-items: center;
}
.cashback {
    text-align: left;
}
._price {
    display:flex;
    gap: 4px;
}
.cashback p {
    margin: 0 0 0.35rem;
    font-size: 10px;
    color: #0F0F0F;
    font-weight: 500;
}

.cashback span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffeeb1 0%, #ffd980 100%);
    font-size: 1.05rem;
    font-weight: 700;
    color: #a86a00;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.05);
}

.cashback span .crown-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background: url('../images/icon-cash.svg') no-repeat center / contain;
}

.doctor-card {
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.doctor-card.expanded {
    box-shadow: 0 30px 70px rgba(23, 49, 86, 0.15);
}

.schedule {
    display: none;
    margin-top: 0;
    padding: 12px 16px;
    background: #E7F4FF;
    border-radius: 26px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.doctor-card.expanded .schedule {
    display: block;
    margin-top: 16px;
    opacity: 1;
    max-height: 520px;
}

.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #112644;
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 12px;
    border-bottom: 1px solid #c7dcf4;
    margin-bottom: 12px;
}
.schedule-header p {
    margin:0px;
}

.schedule-nav {
    display: flex;
    justify-content: flex-end;
    width: 60px;
}

.schedule-arrow {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.schedule-arrow svg {
    width: 14px;
    height: 14px;
    stroke: #0d73c3;
}


.schedule-days,
.schedule-times {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.schedule-days::-webkit-scrollbar,
.schedule-times::-webkit-scrollbar {
    height: 4px;
}

.schedule-days::-webkit-scrollbar-thumb,
.schedule-times::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
}

.day-pill,
.time-pill {
    border: none;
    border-radius: 8px;
    padding: 6px 6px;
    font-size: 12px;
    font-weight: 500;
    background: #fff;
    color: #6D6C6C;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid white;
}

.day-pill.active {
    background: #fff;
    color: #307DBF;
    border: 1px solid #307DBF
}

.schedule-label {
    margin: 8px 0 8px;
    font-weight: 600;
    color: #31405f;
}

.schedule-times {
    border-radius: 8px;
}

.time-pill {
    box-shadow: none;
    background: #fff;
    color: #6b748f;
}

.day-pill {
    border: 1px solid transparent;
    background: #fff;
    color: #6b748f;
}

.day-pill.active {
    border-color: #0d73c3;
    color: #0d73c3;
    background: #fff;
}

.booking-modal {
    padding: 20px;
    background: #fff;
    border-radius: 18px;
    max-width: 320px;
    text-align: center;
    line-height: 1.4;
}

.booking-modal h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #1f2c45;
}

.booking-modal p {
    margin: 4px 0;
    color: #506184;
}

.booking-modal__btn {
    margin-top: 12px;
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background: #0d73c3;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay[hidden] {
    display: none !important;
}

.modal {
    background: #fff;
    border-radius: 24px;
    max-width: 496px;
    width: 90%;
    position: relative;
}

.modal-close {
    font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    position: absolute;
    top: 27px;
    right: 40px;
    background: none;
    border: none;
    font-size: 44px;
    cursor: pointer;
    font-weight: 100;
    color: #307dbf;
}

.modal-close:hover {
    color: #005f96;
}

.appointment-modal .content-card {
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -7px 5px 30px rgba(143, 141, 141, 0.1);
    border: none;
    background: #fff;
}

.appointment-modal .card_content {
    padding: 40px 0 21px;
    display: flex;
    flex-wrap: wrap;
}
.appointment-modal .card_content .price-row {
    width: 100%;
    padding: 0px 20px;
    border-top: 0px solid #e5eaf4;
}

.appointment-modal .card_content_1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.appointment-modal h6 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.appointment-modal .doc {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    margin: 24px 0;
}

.appointment-modal .doc-img {
    border-radius: 10%;
}

.confirmation-message {
    padding: 0 40px;
    margin: 24px 0;
}

.cashback-info {
    padding: 0 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cashback-info-modal .cashback-info {
    gap: 2px;
}

.cashback-info p {
    margin-top: 20px;
    margin-bottom:0px;
    font-size: 14px;
    line-height: 1.5;
    color: #0F0F0F;
}
.cashback-info ul {
    margin: 0px;
    padding-left: 20px;
    margin-bottom: 15px;
}
.cashback-info ul li {
    font-size: 14px;
    line-height: 1.5;
    color: #0F0F0F;
}

.appointment-modal .doc-title {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}

.appointment-modal .text-muted {
    font-size: 12px;
    font-weight: 400;
    color: #6d6c6c;
}

.modal .text_clinic,
.modal .text_usluga {
    padding: 0 40px;
    width: 100%;
}

.modal .text_usluga {
    margin: 24px 0;
}

.modal .doc-footer {
    padding: 0 40px;
    margin: 0;
    width: 100%;
    background: none;
    display: flex;
    gap: 16px;
    margin-top:24px;
}

.modal .doc-footer div {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #e7f4ff;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
}

.appointment-modal .doc-buts {
    border-top: 1px solid #eaeaea;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 16px 0 2px;
    margin-top: 24px;
}

.appointment-modal .doc-buts a, .appointment-modal .doc-buts button {
    font-size: 16px;
    text-align: center;
    width: 50%;
    position: relative;
    color: inherit;
    text-decoration: none;
    background-color: unset;
    border: unset;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.appointment-modal .doc-buts a:not(:last-child)::after, .appointment-modal .doc-buts button:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 66%;
    transform: translateY(-50%);
    width: 1px;
    height: 57px;
    background: #eaeaea;
}

.appointment-modal .doc-buts .doc_but_gray {
    color: #6d6c6c;
}

.appointment-modal .doc-buts .doc_but_blue {
    color: #307dbf;
}

.appointment-modal .doc-buts a:hover {
    color: #005f96;
}

@media (max-width: 767px) {
    .modal-close {
        top: 9px;
        right: 16px;
    }

    .appointment-modal .card_content {
        padding: 24px 0 16px;
    }

    .appointment-modal .card_content_1,
    .modal .doc,
    .modal .text_clinic,
    .modal .text_usluga,
    .modal .doc-footer,
    .confirmation-message,
    .cashback-info {
        padding: 0 16px;
    }

    .appointment-modal .doc-buts a:not(:last-child)::after {
        top: 60%;
        height: 50px;
    }
}

.clinic-address {
    margin-top: 2.5rem;
}

.clinic-select .filter-select {
    border-radius: 1rem;
    border: 1px solid #d5def0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: #31405f;
    box-shadow: inset 0 0 0 1px rgba(13, 115, 195, 0.05);
}

.clinic-select .filter-select svg {
    stroke: #0d73c3;
}

.clinic-select .dropdown-panel {
    border-radius: 1rem;
    box-shadow: 0 25px 60px rgba(15, 64, 141, 0.12);
}

.clinic-select .dropdown-option {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.clinic-select .dropdown-option:hover,
.clinic-select .dropdown-option.active {
    background: #e7f4ff;
    color: #0d73c3;
}

.clinic-details {
    margin-top: 1rem;
    padding: 0.5rem 0 0.75rem;
    border-radius: 1rem;
    color: #31405f;
}

.clinic-details__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: #0d73c3;
}

.clinic-details__address {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
}

.clinic-details__phone {
    display: inline-block;
    font-size: 0.95rem;
    color: #0d73c3;
    font-weight: 600;
    text-decoration: none;
}

.clinic-details__phone:hover {
    text-decoration: underline;
}

.select-wrapper {
    margin-bottom: 1rem;
}

.map-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--card-bg);
}

.map-card img {
    width: 100%;
    display: block;
}

.about {
    margin-top: 24px;
    line-height: 1.6;
}
.about h2 {
    margin-top:0px;
    margin-bottom:12px;
    font-size: 20px;
    font-weight: 600;
}
.about p {
     font-size: 14px;
    font-weight: 400;
}

footer {
    max-width: 480px;
    margin: 2rem auto;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}
footer p {
    font-weight: 300;
    font-size: 12px;
    color: #6D6C6C;
    text-align: left;
    padding-left: 20px;
}
/* ADD */
.schedule-days, .schedule-times {
    padding: 5px 0px;
}
.loading-overlay {
    position: fixed; /* фиксируем относительно окна браузера */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center; /* по горизонтали */
    align-items: center;     /* по вертикали */
    z-index: 9999;
}
[wire\\:loading] {
    display: none !important;
}
@-webkit-keyframes spinner-border {
    to {
        transform: rotate(360deg)
    }
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg)
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -.125em;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .2em
}

@-webkit-keyframes spinner-grow {
    0% {
        transform: scale(0)
    }

    50% {
        opacity: 1;
        transform: none
    }
}

@keyframes spinner-grow {
    0% {
        transform: scale(0)
    }

    50% {
        opacity: 1;
        transform: none
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -.125em;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: .75s linear infinite spinner-grow;
    animation: .75s linear infinite spinner-grow
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem
}

@media (prefers-reduced-motion:reduce) {

    .spinner-border,
    .spinner-grow {
        -webkit-animation-duration: 1.5s;
        animation-duration: 1.5s
    }
}
