/* ========================================
   HOME CUSTOM - New Property Card Design
   ======================================== */

/* --- Card Base Overrides --- */
.box.box-dream.hv-one {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    background: #fff;
    border: 1px solid #efefef;
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
}
.box.box-dream.hv-one:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    transform: translateY(-3px);
}

/* --- Image Group: full-width image container --- */
.box.box-dream .image-group {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.box.box-dream .image-group .swiper-container,
.box.box-dream .image-group .carousel-2 {
    height: 220px;
}
.box.box-dream .image-group img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* --- Status Badge (READY / ONGOING) --- */
.prop-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 4px 13px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
}
.prop-status-badge.ready {
    background: #FFA920;
}
.prop-status-badge.ongoing {
    background: #23C1A5;
}
.prop-status-badge.for-sale {
    background: #5C6BC0;
}
.prop-status-badge.for-rent {
    background: #26A69A;
}

/* --- "By Company" Label on image --- */
.prop-by-label {
    position: absolute;
    bottom: 48px;
    left: 12px;
    z-index: 10;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    padding: 2px 8px 2px 6px;
    font-size: 9.5px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(3px);
}
.prop-by-label i {
    font-size: 9px;
    color: rgba(255,255,255,0.85);
}

/* --- Price on image (bottom-left) --- */
.prop-price-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 10;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
    line-height: 1.2;
}
.prop-price-overlay .price-unit {
    font-size: 11px;
    font-weight: 500;
    margin-left: 2px;
}

/* --- Hide old "featured" spans & bookmark inside our new cards --- */
.box.box-dream .image-group > .featured,
.box.box-dream .image-group > .icon-bookmark {
    display: none;
}

/* --- Card Content Area --- */
.box.box-dream .content {
    padding: 14px 16px 16px;
}

/* --- Title --- */
.box.box-dream .content h3.link-style-1 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
}
.box.box-dream .content h3.link-style-1 a {
    color: #1a1a2e;
}
.box.box-dream .content h3.link-style-1 a:hover {
    color: #FFA920;
}

/* --- Location --- */
.prop-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
.prop-location i {
    color: #FFA920;
    font-size: 12px;
}

/* --- Details row (Beds, Baths, sqft) --- */
.prop-details-row {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.prop-detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #555;
}
.prop-detail-item i {
    font-size: 13px;
    color: #999;
}
.prop-detail-item span.val {
    font-weight: 600;
    color: #222;
}

/* --- Extra row (Land, Garage) --- */
.prop-extra-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* --- Author + Badge row --- */
.prop-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}
.prop-author-row .author-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.prop-author-row .author-name {
    flex: 1;
    font-size: 12.5px;
    font-weight: 600;
    color: #222;
}
.prop-author-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.prop-author-badge.top-seller {
    background: #FFA920;
    color: #fff;
}
.prop-author-badge.top-seller::before {
    content: "★";
    font-size: 10px;
}
.prop-author-badge.level-1 {
    background: #e8f4fd;
    color: #1976D2;
    border: 1px solid #90CAF9;
}
.prop-author-badge.level-1::before {
    content: "◆";
    font-size: 8px;
}
.prop-author-badge.new-member {
    background: #f1f8e9;
    color: #558B2F;
    border: 1px solid #AED581;
}
.prop-author-badge.new-member::before {
    content: "●";
    font-size: 8px;
}
.prop-author-badge.level-2 {
    background: #f3e5f5;
    color: #7B1FA2;
    border: 1px solid #CE93D8;
}
.prop-author-badge.level-2::before {
    content: "◆";
    font-size: 8px;
}

/* --- Agent rank badges (profile & listing cards) --- */
.agent-rank-row {
    margin-top: 8px;
    margin-bottom: 10px;
}
.agent-card-badge {
    display: inline-flex;
    margin-top: 6px;
}
.agent-box-rank {
    display: inline-flex;
    margin: 4px 0 8px;
}
.flat-agent-sidebar .wrap-list .box .content .inner {
    flex: 1;
    min-width: 0;
}

/* --- Move pagination and arrows to top of image --- */
.box.box-dream .image-group .swiper-button-next2,
.box.box-dream .image-group .swiper-button-prev2 {
    bottom: auto;
    top: 14px;
}

.box.box-dream .image-group .pagi2 .swiper-pagination2 {
    bottom: auto;
    top: 18px;
}

/* Custom 3-column grid for Property Listing */
.cards-3-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin: 0 !important;
}
.cards-3-grid .box-dream {
    width: 100% !important;
    margin: 0 !important;
}
@media (max-width: 1200px) {
    .cards-3-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 767px) {
    .cards-3-grid {
        grid-template-columns: 1fr !important;
    }
}
.cards-2-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
}
.cards-2-grid .box-dream {
    width: 100% !important;
    margin: 0 !important;
}
@media (max-width: 767px) {
    .cards-2-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   PROPERTIES-MAP PAGE — Custom Map Pin Icon
   Replaces default purple circle markers with
   assets/images/home/map/mapPoint.png
   ======================================== */

/* Size the marker container to fit the balloon image */
#map .map-marker-container .marker-container {
    width: 54px !important;
    height: 64px !important;
    border-radius: 0 !important;
    top: 0 !important;
    left: 0 !important;
    background: transparent !important;
}

/* Remove purple circle — make face transparent & image-sized */
#map .map-marker-container .face {
    width: 54px !important;
    height: 64px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

/* Kill the ripple/pulse animations */
#map .map-marker-container .face::before,
#map .map-marker-container .face::after {
    display: none !important;
    animation: none !important;
    box-shadow: none !important;
}

/* Show the custom pin image */
#map .map-marker-container .face > div {
    background-image: url('../../../assets/images/home/map/mapPoint.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
}

/* Hide the old text arrow below the circle */
#map .map-marker-container .marker-arrow {
    display: none !important;
}

/* ========================================
   PROPERTIES-MAP PAGE — Compact Card Overrides
   Scoped to .wrap-map so home page cards
   are NOT affected.
   ======================================== */

/* Close the gap between card panel and map.
   responsive.css has a breakpoint that drops content-left to 50%,
   but the fixed map always starts at 55% (100% - 45%).
   Locking width to 55% removes the 5% bare gap. */
.wrap-map .content-left {
    width: 56% !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
}
/* Mobile: both panels go full-width and stack */
@media (max-width: 767px) {
    .wrap-map .content-left {
        width: 100% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
}

/* Grid gap */
.wrap-map .cards-3-grid {
    gap: 8px !important;
}

/* Image height */
.wrap-map .box.box-dream .image-group,
.wrap-map .box.box-dream .image-group .swiper-container,
.wrap-map .box.box-dream .image-group .carousel-2 {
    height: 160px;
}
.wrap-map .box.box-dream .image-group img {
    height: 160px;
}

/* Status badge */
.wrap-map .prop-status-badge {
    font-size: 9px;
    padding: 3px 9px;
    top: 8px;
    left: 8px;
}

/* By-label */
.wrap-map .prop-by-label {
    font-size: 10px;
    padding: 2px 8px 2px 6px;
    bottom: 36px;
    left: 8px;
}

/* Price overlay */
.wrap-map .prop-price-overlay {
    font-size: 13px;
    bottom: 8px;
    left: 8px;
}
.wrap-map .prop-price-overlay .price-unit {
    font-size: 10px;
}

/* Card content area */
.wrap-map .box.box-dream .content {
    padding: 10px 12px 12px;
}

/* Title */
.wrap-map .box.box-dream .content h3.link-style-1 {
    font-size: 12.5px;
    margin-bottom: 3px;
}

/* Location */
.wrap-map .prop-location {
    font-size: 10px;
    margin-bottom: 7px;
    gap: 4px;
}
.wrap-map .prop-location i {
    font-size: 10px;
}

/* Details row */
.wrap-map .prop-details-row {
    gap: 10px;
    padding: 6px 0;
    margin-bottom: 6px;
}
.wrap-map .prop-detail-item {
    font-size: 10.5px;
    gap: 4px;
}
.wrap-map .prop-detail-item i {
    font-size: 11px;
}

/* Extra row */
.wrap-map .prop-extra-row {
    gap: 10px;
    margin-bottom: 8px;
}

/* Author row */
.wrap-map .prop-author-row {
    gap: 7px;
    padding-top: 8px;
    margin-top: 4px;
}
.wrap-map .prop-author-row .author-img {
    width: 26px;
    height: 26px;
}
.wrap-map .prop-author-row .author-name {
    font-size: 10.5px;
}
.wrap-map .prop-author-badge {
    font-size: 9px;
    padding: 2px 8px;
}

/* Property detail gallery lightbox */
.flat-property-detail .wrap-img a {
    display: block;
    cursor: pointer;
}
.flat-property-detail .wrap-img .box-1 > a,
.flat-property-detail .wrap-img .box-2 > a {
    height: 100%;
}
.flat-property-detail .wrap-img .gallery-thumb {
    display: block;
    width: 100%;
    height: 100%;
}
.flat-property-detail .wrap-img .gallery-show-all {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.flat-property-detail .wrap-img .gallery-show-all .contents {
    pointer-events: none;
}
.flat-property-detail .wrap-img .box-2 .img-box {
    gap: 10px;
}
.flat-property-detail .wrap-img .box-2 .img-box .gallery-thumb {
    flex: 1;
    min-width: 0;
}
.flat-property-detail .wrap-img .box-2 .img-box .img-3,
.flat-property-detail .wrap-img .box-2 .img-box .img-5 {
    width: 100%;
    height: 100%;
}
.flat-property-detail .wrap-img .box-2 .img-box .image {
    flex: 1;
    min-width: 0;
    margin-left: 0;
    width: auto;
}

/* Property description show more */
.flat-property-detail .wrap-text .text-more {
    display: none;
}
.flat-property-detail .wrap-text.is-expanded .text-more {
    display: block;
}
.flat-property-detail .wrap-text .text-more p {
    margin-bottom: 12px;
}
.flat-property-detail .wrap-text .show-more-link {
    color: #FFA920;
    cursor: pointer;
}

/* Walk Score section */
.flat-property-detail .wrap-walksore .icon-p::before {
    font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
    font-weight: 900;
}
.flat-property-detail .wrap-walksore .progress-box .progress-walk {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}
.flat-property-detail .wrap-walksore .progress-box .couter {
    position: relative;
    width: 68px;
    height: 68px;
}
.flat-property-detail .wrap-walksore .progress-box .chart {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    position: relative;
}
.flat-property-detail .wrap-walksore .progress-box .progress-walk svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.flat-property-detail .wrap-walksore .progress-box .chart canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.flat-property-detail .wrap-walksore .progress-box1 .chart {
    background:
        radial-gradient(closest-side, #fff 74%, transparent 75% 100%),
        conic-gradient(#FFF5E0 60%, #FFA920 0);
}
.flat-property-detail .wrap-walksore .progress-box2 .chart {
    background:
        radial-gradient(closest-side, #fff 74%, transparent 75% 100%),
        conic-gradient(#FFF5E0 42%, #FFA920 0);
}
.flat-property-detail .wrap-walksore .progress-box3 .chart {
    background:
        radial-gradient(closest-side, #fff 74%, transparent 75% 100%),
        conic-gradient(#FFF5E0 87%, #FFA920 0);
}
.flat-property-detail .wrap-walksore .progress-box .content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1C1C1E;
    margin-bottom: 4px;
}
.flat-property-detail .wrap-walksore .progress-box .content div {
    font-size: 14px;
    color: #8E8E93;
}

/* Review section thumbnails */
.flat-property-detail .wrap-review .comment-list .content .img-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.flat-property-detail .wrap-review .comment-list .content .img-box img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    margin-right: 0;
    border-radius: 8px;
}

/* Review form image upload */
.flat-property-detail .wrap-contact .review-upload-wrap {
    margin-bottom: 20px;
}
.flat-property-detail .wrap-contact .review-upload-box {
    position: relative;
    border: 1px dashed #E5E5EA;
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}
.flat-property-detail .wrap-contact .review-upload-box:hover {
    border-color: #FFA920;
}
.flat-property-detail .wrap-contact #review-upload-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.flat-property-detail .wrap-contact .review-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}
.flat-property-detail .wrap-contact .review-upload-text {
    font-size: 14px;
    color: #1C1C1E;
    font-weight: 500;
}
.flat-property-detail .wrap-contact .review-upload-hint {
    color: #8E8E93;
}
.flat-property-detail .wrap-contact .review-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}
.flat-property-detail .wrap-contact .review-upload-preview:empty {
    margin-top: 0;
}
.flat-property-detail .wrap-contact .review-upload-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}
.flat-property-detail .wrap-contact .review-upload-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.flat-property-detail .wrap-contact .review-upload-box.has-images .review-upload-placeholder {
    display: none;
}

/* Featured listings sidebar thumbnails */
.flat-property-detail .side-bar .widget-listings .box-listings .img-listings,
.flat-agent-sidebar .side-bar .widget-listings .box-listings .img-listings,
.flat-agent-detail .side-bar .widget-listings .box-listings .img-listings {
    width: 90px;
    height: 68px;
    flex-shrink: 0;
}
.flat-property-detail .side-bar .widget-listings .box-listings .img-listings img,
.flat-agent-sidebar .side-bar .widget-listings .box-listings .img-listings img,
.flat-agent-detail .side-bar .widget-listings .box-listings .img-listings img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Real estate near you cards */
.flat-property-detail .side-bar .widget-estate .box-estate .thumb,
.flat-agent-sidebar .side-bar .widget-estate .box-estate .thumb {
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
}
.flat-property-detail .side-bar .widget-estate .box-estate .thumb img,
.flat-agent-sidebar .side-bar .widget-estate .box-estate .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar property ad card */
.flat-property-detail .side-bar .box-ads-galle,
.flat-agent-sidebar .side-bar .box-ads-galle {
    background-image: url(../../../assets/images/home/properties/4/2.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Featured properties grid on property detail page */
.flat-sale-detail .wrap-item.cards-3-grid {
    margin-left: 0;
    width: 100%;
}
.flat-sale-detail .wrap-item.cards-3-grid .box-dream {
    margin-bottom: 0;
}

/* Fix cards-2-grid inside flat-agent-detail — override old horizontal layout widths */
.flat-agent-detail .wrap-item.cards-2-grid .box .content {
    width: 100% !important;
}
.flat-agent-detail .wrap-item.cards-2-grid {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.flat-agent-detail .wrap-item.cards-2-grid .box-dream {
    margin-bottom: 0 !important;
}

.flat-agent-detail .themesflat-pagination {
    padding-top: 30px;
}

/* Dashboard header — align nav with left sidebar */
.dashboard .main-header .main-menu {
    margin-left: 0 !important;
}
.dashboard .dashboard-header-inner {
    padding-left: 360px;
    min-height: 80px;
}
.show-job .dashboard .dashboard-header-inner {
    padding-left: 140px;
}
@media (max-width: 991px) {
    .dashboard .dashboard-header-inner {
        padding-left: 0;
    }
}

/* ==========================================================================
   Auth UX — standalone /login page layout + shared login/register modal
   form feedback (spinner, themed inline errors, error banner).
   Moved here from inline <style> blocks in:
   - resources/views/layouts/auth.blade.php
   - resources/views/frontend/partials/auth/auth-enhancements.blade.php
   ========================================================================== */

/* Standalone auth page (layouts.auth) card layout */
.auth-page-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f7f7f7;
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(28, 28, 30, 0.08);
}

.auth-card .auth-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    font-size: 28px;
    line-height: 1;
    color: #1c1c1e;
    text-decoration: none;
}

/* Base alert — applies everywhere, including the home-page login/register
   modals (which have no .auth-card wrapper). */
.auth-alert,
.auth-card .auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

/* Verified / success — amber theme to match the brand. */
.auth-alert.success,
.auth-card .auth-alert.success {
    background: rgba(255, 169, 32, 0.12);
    border: 1px solid #FFA920;
    color: #8a5600;
    font-weight: 500;
}

.auth-alert.error,
.auth-card .auth-alert.error {
    background: #fef3f2;
    border: 1px solid #fda29b;
    color: #b42318;
}

.auth-alert.warning,
.auth-card .auth-alert.warning {
    background: #fffaeb;
    color: #b54708;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.auth-alert .link-button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
}

.auth-verify-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 16px;
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(255, 169, 32, 0.1);
    border: 1px solid rgba(255, 169, 32, 0.4);
    color: #a86a00;
    font-size: 12.5px;
    line-height: 1.5;
}

.auth-verify-hint.success {
    background: rgba(255, 169, 32, 0.16);
    border-color: #FFA920;
    color: #8a5600;
    font-weight: 500;
}

.auth-verify-hint svg {
    flex: none;
    margin-top: 2px;
}

form.inline {
    display: inline;
}

/* Shared form feedback (scoped to .comment-form so it works on the
   standalone page and inside the login/register modals) */
.comment-form .field-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #b42318;
}

.comment-form .tb-my-input.is-invalid,
.comment-form .input-form.is-invalid {
    border-color: #f04438 !important;
    box-shadow: 0 0 0 3px rgba(240, 68, 56, .12) !important;
}

.comment-form .auth-error-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 13px 15px;
    border-radius: 10px;
    background: #fef3f2;
    border: 1px solid #fda29b;
    color: #b42318;
    animation: auth-banner-in .22s ease;
}

.comment-form .auth-error-banner svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: #f04438;
}

.comment-form .auth-error-banner strong {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 700;
    color: #912018;
}

.comment-form .auth-error-banner span {
    display: block;
    font-size: 12.5px;
    line-height: 1.5;
    color: #b42318;
}

/* Amber (theme) variant: used for the "email not verified" notice. */
.comment-form .auth-error-banner.warning {
    background: rgba(255, 169, 32, 0.12);
    border-color: #FFA920;
    color: #8a5600;
}

.comment-form .auth-error-banner.warning svg {
    color: #FFA920;
}

.comment-form .auth-error-banner.warning strong {
    color: #8a5600;
}

.comment-form .auth-error-banner.warning span {
    color: #a86a00;
}

.comment-form .auth-error-banner .link-button {
    margin-top: 8px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
    font-size: 12.5px;
    color: #8a5600;
}

.comment-form .auth-error-banner .link-button:disabled {
    opacity: .6;
    cursor: default;
    text-decoration: none;
}

@keyframes auth-banner-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sc-button {
    position: relative;
}

.sc-button .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin .6s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}

.sc-button.is-loading {
    pointer-events: none;
    opacity: .85;
    cursor: wait;
}

.sc-button.is-loading .btn-spinner {
    display: inline-block;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}
