html {overflow-x: hidden !important;}
.fs-36px {
    font-size: 36px;
}

/* Анимация точек */

.dots {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 18px;
}

.dots div {
    position: absolute;
    margin: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
span.dots {
    min-width: 50px;
}
.dots div:nth-child(1) {
    left: 8px;
    animation: dots1 0.6s infinite;
}
.dots div:nth-child(2) {
    left: 16px;
    animation: dots2 0.6s infinite;
}
.dots div:nth-child(3) {
    left: 24px;
    animation: dots2 0.6s infinite;
}
.dots div:nth-child(4) {
    left: 32px;
    animation: dots3 0.6s infinite;
}

@keyframes dots1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes dots2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(8px, 0); }
}

@keyframes dots3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}

img.logo-img {
    max-height: 28px;
}

.nk-order-ovwg-data.balance {
    border-color: #525353;
}
.nk-order-ovwg-data.balance .amount, .nk-order-ovwg-data.buy .title .icon {
color: #2d302f;
}
.nk-order-ovwg-data.blocked-balance {
    border-color: #e85347;
}
.nk-order-ovwg-data.blocked-balance .amount, .nk-order-ovwg-data.buy .title .icon {
color: #e85347;
}
.nk-order-ovwg-data.allowed-balance {
    border-color: #2ce454;
}
.nk-order-ovwg-data.allowed-balance .amount, .nk-order-ovwg-data.buy .title .icon {
color: #00b81f;
}
.dark-mode .bg-light {
    background-color: #1f2b3a !important;
}
.dark-mode .bg-warning.text-dark {
    color: #252424 !important;
}
strong {
    font-weight: 600 !important;
}

/* Bonus Cards Styling */
.bonus-countdown-display {
    font-size: 3rem;
    font-weight: 700;
    color: #526484;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.bonus-card .nk-progress-circle {
    display: none; /* Hide the circular progress for birthday */
}

.birthday-days-large {
    font-size: 3rem;
    font-weight: 700;
    color: #526484;
    line-height: 1;
    text-align: center;
    margin-bottom: 0.5rem;
    display: block;
}

.milestone-progress-full {
    background-color: #1ee0ac !important;
    transition: width 0.3s ease;
}

/* Default progress bar color when not full */
.bonus-card .progress-bar {
    background-color: #526484;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.bonus-card-info {
    font-size: 0.875rem;
    color: #797171;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.bonus-card-info:last-child {
    margin-bottom: 0;
}

.bonus-card-info .text-base {
    color: #364a63;
    font-weight: 500;
}

.bonus-card-info .next-bonus-date {
    color: #6b4423;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Ensure cards are always displayed */
.bonus-card {
    display: block !important;
}

/* Progress bar container styling */
.bonus-card .nk-progress-bar {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #e5ecf6;
}

.bonus-card .progress-bar {
    border-radius: 4px;
}

/* Total Bonus Amount Large Display */
.total-bonus-amount-large {
    font-size: 3rem;
    font-weight: 700;
    color: #1ee0ac;
    line-height: 1;
    text-align: center;
    margin-bottom: 0.5rem;
    display: block;
}

/* Center the count text under the amount */
.bonus-card-info.text-center {
    text-align: center !important;
    margin-top: 0.5rem;
}

/* Special Birthday Card Styling */
.birthday-special-card {
    background: url('../images/dg.png') center center;
    background-size: cover;
    background-repeat: no-repeat;
    border: none !important;
    box-shadow: 0 8px 20px rgba(212, 161, 128, 0.4);
    position: relative;
    overflow: hidden;
    border-radius: 0.625rem;
}

/* Overlay for better text readability */
.birthday-special-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(244, 194, 167, 0.15);
    pointer-events: none;
    z-index: 1;
}

.birthday-card-inner {
    position: relative;
    z-index: 2;
}

.birthday-card-inner {
    background: transparent;
    color: #6b4423;
}

.birthday-special-title {
    color: #6b4423;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.birthday-countdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.birthday-days-special {
    font-size: 3.5rem;
    font-weight: 700;
    color: #8b4513;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.7);
}

.birthday-gift-icon {
    font-size: 2rem;
    color: #cd853f;
    margin-left: 0.3rem;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.birthday-days-label {
    font-size: 1rem;
    color: #6b4423;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.birthday-date-info {
    margin-top: 1rem;
}

.birthday-date-display {
    color: #6b4423;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.birthday-date-display em {
    font-size: 1.1rem;
    color: #cd853f;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}