/* CSS Styles */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Preloader */

#before-load {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    background: #303030;
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.pace-inactive {
    display: none;
}
.pace .pace-progress {
    background: #b12077;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 100%;
    width: 100%;
    height: 4px;
    /* filter: drop-shadow(0px 0px 10px rgba(201, 36, 135, 1)); */
    filter: drop-shadow(0px 0px 4px rgba(177, 32, 119, 1));
    border-radius: 0.25rem;
}

body {
    background: #303030;
    font-family: 'Montserrat', sans-serif;
}

h5 {
    font-size: 1.2rem !important;
}

h6 {
    font-size: 1.05rem !important;
}

.preloader-wrapper {
    display: contents;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin-top: -1rem;
}

.logo-image-bg-first {
    position: absolute;
    margin: 0px;
    left: 2rem;
    top: -8rem;
    animation: moveEffectFirst 3s linear infinite;
    animation-delay: 1s;
    opacity: 0;
}
.logo-image-bg-first img {
    width: 30px;
    height: auto;
    filter: grayscale(100);
    transform: rotate(-15deg);
}
@keyframes moveEffectFirst {
    0% {
        top: -8rem;
    }
    50% {
        top: -9rem;
        opacity: 1;
    }
    100% {
        top: -8rem;
    }
}

.logo-image-bg-second {
    position: absolute;
    margin: 0px;
    right: -2rem;
    bottom: -6rem;
    animation: moveEffectSecond 3s linear infinite;
    animation-delay: 2s;
    opacity: 0;
}
.logo-image-bg-second img {
    width: 40px;
    height: auto;
    filter: grayscale(100);
    transform: rotate(30deg);
}
@keyframes moveEffectSecond {
    0% {
      bottom: -6rem;
    }
    50% {
      bottom: -5rem;
      opacity: 1;
    }
    100% {
      bottom: -6rem;
    }
}

.logo-image-bg-third {
    position: absolute;
    margin: 0px;
    left: -2rem;
    bottom: -10rem;
    animation: moveEffectThird 3s linear infinite;
    animation-delay: 3s;
    opacity: 0;
}
.logo-image-bg-third img {
    width: 30px;
    height: auto;
    filter: grayscale(100);
    transform: rotate(120deg);
}
@keyframes moveEffectThird {
    0% {
      bottom: -10rem;
    }
    50% {
      bottom: -9rem;
      opacity: 1;
    }
    100% {
      bottom: -10rem;
    }
}

.logo-image-spark-1 {
    position: absolute;
    margin: 0px;
    left: -2rem;
    top: -4rem;
}
.logo-image-spark-1 img {
    width: 16px;
    height: auto;
    animation: sparkShow 3s ease-in infinite;
    animation-delay: 3s;
    opacity: 0;
}

.logo-image-spark-2 {
    position: absolute;
    margin: 0px;
    right: -1rem;
    top: -7rem;
}
.logo-image-spark-2 img {
    width: 16px;
    height: auto;
    animation: sparkShow 3s ease-in infinite;
    animation-delay: 4s;
    opacity: 0;
}

.logo-image-spark-3 {
    position: absolute;
    margin: 0px;
    right: 1rem;
    bottom: -9rem;
}
.logo-image-spark-3 img {
    width: 16px;
    height: auto;
    animation: sparkShow 3s ease-in infinite;
    animation-delay: 6s;
    opacity: 0;
}

.logo-image-spark-4 {
    position: absolute;
    margin: 0px;
    left: 1rem;
    bottom: -5rem;
}
.logo-image-spark-4 img {
    width: 16px;
    height: auto;
    animation: sparkShow 3s ease-in infinite;
    animation-delay: 5s;
    opacity: 0;
}

@keyframes sparkShow {
    0% {
      transform: scale(0.7);
      opacity: 0;
    }
    25% {
      opacity: 0.5;
    }
    50% {
      transform: scale(1.2);
      opacity: 1.0;
    }
    75% {
        opacity: 0.5;
      }
    100% {
      transform: scale(0.7);
      opacity: 0;
    }
}

.logo-square {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 8px solid #474747;
    background-color: transparent;
    margin: 0px auto;
    left: 0;
    right: 0;
    animation: showSquare 1s ease-in-out forwards;
    border-radius: 1rem;
    transform: scale(0.9);
}

@keyframes showSquare {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

.logo-image {
    position: absolute;
    transform: scale(0.9);
}
.logo-image img {
    width: 50px;
    margin-top: 2px;
    height: auto;
    animation: logoScale 1s ease-in-out forwards, glowEffect 3s infinite 1s;
}

@keyframes logoScale {
    0% {
      transform: scale(0.15);
      opacity: 0;
    }
    25% {
      opacity: 0;
    }
    50% {
      opacity: 1.0;
    }
    100% {
      transform: scale(1.0);
    }
}

@keyframes glowEffect {
    0% {
        filter: drop-shadow(0px 0px 10px rgba(201, 36, 135, 0));
    }
    50% {
        filter: drop-shadow(0px 0px 10px rgba(201, 36, 135, 1));
    }
    100% {
        filter: drop-shadow(0px 0px 10px rgba(201, 36, 135, 0));
    }
}

.logo-text {
    display: flex;
    justify-content: center;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    font-size: 3.5rem !important;
    transform: scale(0.9);
}
.logo-text span {
    color: #474747;
    animation: colorChange 2s forwards;
    animation-fill-mode: forwards;
}
.logo-text span:nth-child(1) {
    animation-delay: 0s;
}
.logo-text span:nth-child(2) {
    animation-delay: 0.2s;
}
.logo-text span:nth-child(3) {
    animation-delay: 0.4s;
}
.logo-text span:nth-child(4) {
    animation-delay: 0.6s;
}
.logo-text span:nth-child(5) {
    animation-delay: 0.6s;
}
.logo-text span:nth-child(6) {
    animation-delay: 0.8s;
}
.logo-text span:nth-child(7) {
    animation-delay: 1s;
}
.logo-text span:nth-child(8) {
    animation-delay: 1.2s;
}
.logo-text span:nth-child(9) {
    animation-delay: 1.4s;
}

@keyframes colorChange {
0% {
    color: #474747;
}
50% {
    color: #ffffff;
}
100% {
    color: #ffffff;
}
}

.text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    line-height: 65px;
}
  
.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 64px;
}

.cell:nth-child(1) { grid-column: 1; grid-row: 1; } /* Top-left */
.cell:nth-child(2) { grid-column: 2; grid-row: 1; } /* Top-center */
.cell:nth-child(3) { grid-column: 3; grid-row: 1; } /* Top-right */
.cell:nth-child(4) { grid-column: 3; grid-row: 2; } /* Right-middle */
.cell:nth-child(5) { grid-column: 2; grid-row: 2; } /* Center (empty) */
.cell:nth-child(6) { grid-column: 3; grid-row: 3; } /* Bottom-left */
.cell:nth-child(7) { grid-column: 2; grid-row: 3; } /* Left-middle */
.cell:nth-child(8) { grid-column: 1; grid-row: 3; } /* Bottom-right */
.cell:nth-child(9) { grid-column: 1; grid-row: 2; } /* Bottom-center */

.text-preloader {
    color: #ffffff !important;
    font-size: 0.88rem !important;
    position: absolute !important;
    bottom: 5.3rem !important;
    justify-content: center;
    align-items: baseline;
    font-weight: 500;
}

.dots {
    font-size: 0.81rem;
    color: #ffffff;
    opacity: 0;
    transition: opacity 1s ease;
    width: 10px;
}

.text-disclaimer {
    /* color: #474747 !important; */
    color: #666666 !important;
    font-size: 0.71rem !important;
    position: absolute !important;
    bottom: 2rem !important;
}

/* App */

.main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* margin-top: -1rem; */
}

.app-wrapper {
    margin-top: 80px; 
    margin-bottom: 80px; 
    overflow-y: auto; 
    height: calc(100% - 100px); 
    z-index: 0;
    width: 100vw;
}

.header {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 70px; 
    background-color: rgba(48, 48, 48, 0.7); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    /* border-bottom: 1px solid #3f3f3f; */ 
    z-index: 1; 
}

.logo-image-gray {
    position: relative;
}

.logo-image-gray img {
    width: 70px;
    margin-top: 5px;
    height: auto;
    filter: grayscale(100);
    animation: scaleLogo 1s forwards;
}

@keyframes scaleLogo {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
    }
    100% {
        transform: scale(1.4);
    }
}

@keyframes scaleLogoShow {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    25% {
        transform: scale(1.1);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.logo-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    background: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: showSquare 1s forwards;
}

.logo-icon img {
    width: 24px;
    margin-top: -2px;
    height: auto;
    border-radius: 50%;
    animation: scaleLogoBackward 1s forwards;
}

@keyframes scaleLogoBackward {
    0% {
        transform: scale(1.4);
    }
    50% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.0);
    }
}

.footer-logo {
    text-decoration: none;
    opacity: 1.0;
    transition: all 0.2s;
}
.footer-logo:hover {
    opacity: 0.8;
}
.footer-logo img {
    /* height: 60px; */
    transition: all 0.2s;
}
.footer-logo:hover img {
    /* filter: drop-shadow(0px 0px 10px rgba(201, 36, 135, 1)); */
    transition: all 0.2s;
}

/* Status */
.icon-status-wait { font-size: 1rem; color: #ffa726; }
.icon-status-add { font-size: 1rem; color: #b12077; }
.icon-status-success { font-size: 1rem; color: #17be49; }
.icon-status-error { font-size: 1rem; color: #c42f3f; }

/* Profile */
.gifts-wrapper {
    background: rgba(177, 32, 119, 0.18);
    border-radius: 0.5rem;
    padding: 0px 7px;
    min-width: 48px;
}
.tickets-wrapper {
    background: rgba(255, 167, 38, 0.08);
    border-radius: 0.5rem;
    padding: 0px 7px;
    min-width: 48px;
}

/* Menu */
.app-menu {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 70px; 
    background: #2d2d2d; 
    border-top: 1px solid #3b3b3b; 
    z-index: 1;
}
.app-menu nav {
    height: 70px;
}

.app-menu-item {
    position: relative;
    font-weight: 700;
    font-size: 0.71rem;
    color: #8f8f8f;
    text-decoration: none;
    min-width: 50px;
    width: 50px;
    height: 50px;
}
.app-menu-item-active {
    position: relative;
    font-weight: 700;
    font-size: 0.71rem;
    color: #ffffff;
    animation: scaleMenu 1s forwards;
}

.app-menu-item img {
    filter: none;
    width: 24px;
    margin-top: 2px;
}
.app-menu-item-active img {
    filter: brightness(100) !important;
    width: 20px; 
    margin-top: 4px;
}

@keyframes scaleMenu {
    0% {
        transform: scale(1.0);
    }
    10% {
        transform: scale(0.8);
    }
    20% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.0);
    }
}

.app-menu-img {
    width: 50px; 
    height: 28px; 
    margin: 0px auto;
}

.app-menu-bg {
    display: none;
}
.app-menu-bg-active {
    display: block;
    position: absolute;
    width: 50px; 
    height: 28px; 
    margin: 0px auto; 
    background: #3b3b3b; 
    border-radius: 3rem;
    animation: scaleMenuBackground 1s forwards;
    /* animation-delay: 0.2s; */
    opacity: 0;
    top: 0px;
}
@keyframes scaleMenuBackground {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.0);
        opacity: 1;
    }
    100% {
        transform: scale(1.0);
        opacity: 1;
    }
}

/* Text */

.text-white {
    color: #ffffff !important;
}

.text-gray {
    color: #8f8f8f !important;
}

.text-gray-light {
    color: #c4c4c4 !important;
}

.text-dark {
    color: #303030 !important;
}

.text-dark-light {
    color: #333333 !important;
}

.text-violet {
    color: #b12077 !important;
}

.text-green {
    color: #17be49 !important;
}

.text-yellow {
    color: #ffa726 !important;
}

.text-red {
    color: #ff3f26 !important;
}

.text-bold-500 {
    font-weight: 500;
}

.text-ton {
    color: #0098ea !important;
}

/* Buttons */

.button-gray a {
    color: #ffffff; 
    background: #474747; 
    border-radius: 1rem; 
    padding: 0.55rem 1rem; 
    text-decoration: none; 
    font-size: 0.68rem; 
    text-transform: uppercase; 
    font-weight: 700;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    width: fit-content;
    margin: 0px auto;
    height: 34px;
}

.button-gray2 a {
    color: #ffffff; 
    /* background: #474747;  */
    background: #363636; 
    /* border: 1px solid #3b3b3b;  */
    border-radius: 1rem; 
    padding: 0.55rem 1rem; 
    text-decoration: none; 
    font-size: 0.68rem; 
    text-transform: uppercase; 
    font-weight: 700;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    width: fit-content;
    margin: 0px auto;
    height: 34px;
}

.button-gray3 a {
    color: #ffffff; 
    /* background: #474747;  */
    background: #3f3f3f; 
    /* border: 1px solid #3b3b3b;  */
    border-radius: 1rem; 
    padding: 0.55rem 1rem; 
    text-decoration: none; 
    font-size: 0.68rem; 
    text-transform: uppercase; 
    font-weight: 700;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    width: fit-content;
    margin: 0px auto;
    height: 34px;
}

.button-dark-gray a {
    color: #ffffff; 
    background: #303030; 
    border-radius: 1rem; 
    padding: 0.55rem 1rem; 
    text-decoration: none; 
    font-size: 0.68rem; 
    text-transform: uppercase; 
    font-weight: 700;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    width: fit-content;
    margin: 0px auto;
    height: 34px;
}

.button-tg a {
    color: #ffffff; 
    background: #1a9be2; 
    border-radius: 1rem; 
    padding: 0.55rem 1rem; 
    text-decoration: none; 
    font-size: 0.68rem; 
    text-transform: uppercase; 
    font-weight: 700;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    width: fit-content;
    margin: 0px auto;
    height: 34px;
}

.button-g a {
    color: #ffffff; 
    background: #b12077; 
    border-radius: 1rem; 
    padding: 0.55rem 1rem; 
    text-decoration: none; 
    font-size: 0.68rem; 
    text-transform: uppercase; 
    font-weight: 700;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    width: fit-content;
    margin: 0px auto;
    height: 34px;
}

.button-m a {
    color: #ffffff;
    background: #b12077;
    border-radius: 1rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    /* width: fit-content; */
    margin: 0px auto;
    height: 34px;
    max-width: 200px;
  }

.button-v a {
    color: #ffffff; 
    background: #b12077; /* red #D32F2F */
    border-radius: 1rem; 
    padding: 0.55rem 1rem; 
    text-decoration: none; 
    font-size: 0.68rem; 
    text-transform: uppercase; 
    font-weight: 700;
    animation: glowEffectButtonViolet 3s infinite 1s;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    width: fit-content;
    margin: 0px auto;
    height: 34px;
}

@keyframes glowEffectButtonViolet {
    0% {
        filter: drop-shadow(0px 0px 5px rgba(201, 36, 135, 0));
    }
    50% {
        filter: drop-shadow(0px 0px 5px rgba(201, 36, 135, 1));
    }
    100% {
        filter: drop-shadow(0px 0px 5px rgba(201, 36, 135, 0));
    }
}

.button-add a {
    color: #ffffff;
    background: #3b3b3b;
    border-radius: 1rem;
    padding: 0.55rem 1rem;
    text-decoration: none;
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    width: fit-content;
    margin: 0px auto;
    height: 34px;
}

.button-add-border a {
    color: #ffffff;
    
    background: #3b3b3b; /* rgba(61, 61, 61, 0.8) */
    
    /* background-color: rgba(48, 48, 48, 0.8);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px); */

    border-radius: 1rem;
    padding: 0.2rem 1rem;
    text-decoration: none;
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid #3b3b3b;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    margin: 0px auto;
    /* height: 34px; */
    min-width: 108px;
}

.button-invite a {
    color: #ffffff;
    background: #3b3b3b;
    border-radius: 1rem;
    padding: 0.55rem 1rem;
    text-decoration: none;
    font-size: 0.88rem;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid #3b3b3b;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    width: fit-content;
    margin: 0px auto;
    height: 34px;
}

.button-invite-v a {
    color: #ffffff;
    background: #b12077;
    border-radius: 50%;
    /* border-radius: 1rem; */
    /* padding: 0.55rem 1rem; */
    text-decoration: none;
    font-size: 0.88rem;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid #b12077;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem !important;
    /* width: fit-content; */
    margin: 0px auto;
    width: 34px;
    height: 34px;
}

@keyframes borderVioletEffect {
    0% {
        border: 1px solid #3b3b3b;
    }
    50% {
        border: 1px solid #b12077;
    }
    100% {
        border: 1px solid #3b3b3b;
    }
}

.blur-effect {
    position: fixed; 
    overflow: hidden;
    filter: blur(5px) grayscale(100);
    transition: filter 0.2s ease;
    height: 100vh;
    width: 100%;
}

.qrcode-white {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    background: #ffffff;
    width: 240px;
    height: 240px;
    padding: 1.1rem;
    margin: 0px auto;
    position: relative;
    z-index: 0;
}
.qrcode-white canvas {
    width: 100%;
    height: 100%;
}

.qrcode-white-medium {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.8rem;
    background: #ffffff;
    width: 200px;
    height: 200px;
    padding: 0.8rem;
    margin: 0px auto;
    position: relative;
    z-index: 0;
}
.qrcode-white-medium canvas {
    width: 100%;
    height: 100%;
}

.qrcode-white-small {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.8rem;
    background: #ffffff;
    width: 160px;
    height: 160px;
    padding: 0.8rem;
    margin: 0px auto;
    position: relative;
    z-index: 0;
}
.qrcode-white-small canvas {
    width: 100%;
    height: 100%;
}

/* Tasks */

.task-icon {
    border-radius: 0.8rem;  /* 0.6rem */
    background: #3b3b3b;  /* #2d2d2d */
    border: 1px solid #3b3b3b;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;  /* 40px */
    height: 36px;  /* 40px */
}
.task-icon img {
    width: 18px;  /* 20px */
}

.task-title {
    font-size: 0.84rem;
    /* font-weight: 600; */
    color: #c4c4c4;
}

.task-text {
    font-size: 0.78rem;
    color: #8f8f8f;
}

a.task-button {
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    background: #3b3b3b;
    border-radius: 0.8rem;
    padding: 0 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 80px;
    text-decoration: none;
}

a.task-button-v {
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    background: #b12077;
    border-radius: 0.8rem;
    padding: 0 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 80px;
    text-decoration: none;
}

a.task-button-green {
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    background: #373737;
    border-radius: 0.8rem;
    padding: 0 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 80px;
    text-decoration: none;
    /* border: 1px solid #3b3b3b; */
}

.task-card {
    background: #363636; 
    border: 1px solid #3b3b3b; 
    border-radius: 0.8rem; 
    min-height: 60px;
}

.task-notice {
    background: #b12077; 
    height: 8px; 
    width: 8px; 
    border-radius: 50%; 
    top: 0px; 
    /* right: 10px; */
    right: -15px;
    display: none;
}

/* Gifts */

.gifts-card, .trans-card {
    background: #363636; 
    border: 1px solid #3b3b3b; 
    border-radius: 0.8rem; 
    min-height: 60px;
}

/* Cabinet */

.cabinet-logo-circle {
    animation: showEffect 1s ease-in-out forwards, showHideSlowEffect 8s infinite 3s;
    opacity: 0;
    position: absolute; 
    left: 0; 
    right: 0; 
    border-radius: 50%;
    border: 10px solid #b12077; 
    background: #b12077; 
    width: 140px; 
    height: 140px; 
    margin: 0px auto;
    z-index: 0; 
    top: 15px; 
    filter: blur(50px);
}

.cabinet-logo-wrapper {
    position: relative;
}
.cabinet-logo-wrapper img {
    width: 110px;
    margin-top: 5px;
    height: auto;
    filter: grayscale(100) brightness(100);
    animation: showEffect 1s ease-in-out forwards;
    opacity: 0;
}

.cabinet-logo-circle-play {
    animation: showEffect 1s ease-in-out forwards;
    /* opacity: 0; */
    position: relative;
    left: 0;
    right: 0;
    border-radius: 50%;
    /* border: 8px solid #3b3b3b; */
    /* background: #482e3d; */
    width: 200px;
    height: 200px;
    margin: 0px auto;
    z-index: 0;
    top: -10px;
    /* filter: blur(50px); */
}

.cabinet-logo-circle-play::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    padding: 5px;
    background: conic-gradient(#792055, #b12077, #b12077, #3b3b3b, #3b3b3b, #3b3b3b, #3b3b3b, #792055);
    animation: rotate 3s linear infinite;
    mask: radial-gradient(circle, transparent 60%, black 61%);
    -webkit-mask: radial-gradient(circle, transparent 62%, black 70%);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cabinet-logo-wrapper-play {
    position: relative;
}
.cabinet-logo-image-play {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    /* animation: glowEffect 3s infinite 1s; */
    left: 0;
    right: 0;
}
.cabinet-logo-wrapper-play img {
    width: 100px;
    /* margin-top: 10px; */
    height: auto;
    /* filter: grayscale(100) brightness(100); */
    animation: showEffect 1s ease-in-out forwards, scaleButton 10s ease-in-out infinite;
    opacity: 0;
}

.cabinet-logo-image {
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 45px;
}

.section {
    display: none;
}
.section.section-active {
    display: inline-block;
}

.cabinet-card {
    background: #363636; 
    border: 1px solid #3b3b3b; 
    border-radius: 0.8rem; 
    min-height: 60px;
}

.cabinet-card-add {
    color: #4b4b4b; 
    font-size: 1.3rem; 
    margin-top: 3px;
}

.cabinet-avatar {
    border-radius: 50%; 
    width: 34px; 
    height: 34px; 
    background-size: cover !important; 
    background-blend-mode: luminosity; 
    border: 2px solid #8f8f8f;
}

/* QR Code */

.qrcode-logo-wrapper {
    width: 240px; 
    margin: 0px auto;
}

.qrcode-logo {
    position: absolute; 
    z-index: 1; 
    left: calc(50% - 25px); 
    top: calc(50% - 25px); 
    border-radius: 50%; 
    width: 50px; 
    height: 50px; 
    background: #ffffff; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.qrcode-logo img { 
    margin-top: 5px; 
    width: 34px; 
}

.qrcode-logo-medium {
    position: absolute; 
    z-index: 1; 
    left: calc(50% - 25px);
    top: calc(50% - 25px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: #ffffff; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.qrcode-logo-medium img { 
    margin-top: 0px; 
    width: 40px; 
}

/* FX */

@keyframes showEffect {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes showHideEffect {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes showHideSlowEffect {
    0% {
        opacity: 1;
        filter: blur(50px);
    }
    50% {
        opacity: 0.5;
        filter: blur(40px);
    }
    100% {
        opacity: 1;
        filter: blur(50px);
    }
}

@keyframes neonEffect {
    0% {
        filter: grayscale(100) brightness(100);
    }
    40% {
        filter: grayscale(0);
    }
    41% {
        filter: grayscale(100) brightness(100);
    }
    42% {
        filter: grayscale(0);
    }
    100% {
        filter: grayscale(100) brightness(100);
    }
}

/* Timer */

.timer-wrapper {
    animation: scaleMenuBackground 1s forwards;
}
.timer {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 15px;
}
.timer span {
    display: inline-block;
    padding: 6px 0px;
    background: linear-gradient(to bottom, #474747, #333333);
    margin: 0 5px;
    border-radius: 10px;
    border: 1px solid #474747;
    min-width: 50px;
    min-height: 50px;
}

.timer-small-v {
    width: max-content;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    background: #b12077;
    border-radius: 1rem;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 90px;
}
.timer-small-v span {
    display: inline-block;
}

.timer-small-b {
    width: max-content;
    font-size: 0.78rem;
    font-weight: 700;
    color: #b12077;
    /* background: #b12077; */
    border-radius: 1rem;
    border: 2px solid #b12077;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 90px;
}
.timer-small-b span {
    display: inline-block;
}

/* Bootstrap */

.progress {
    height: 10px !important;
    --bs-progress-bg: #444444 !important;
    --bs-progress-bar-bg: #b12077 !important; 
}

.progress-bar {
    /* border-radius: 0.8rem!important; */
    font-size: 0.71rem!important;
}

.btn-outline-primary {
    --bs-btn-color: #c4c4c4 !important;
    --bs-btn-border-color: #3b3b3b !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3b3b3b !important;
    --bs-btn-active-border-color: #3b3b3b !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0d6efd;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0d6efd;
    --bs-gradient: none;
}

.btn-outline-primary {
    font-size: 0.91rem !important;
}

.btn-scale {
    animation: scaleButton 10s ease-in-out infinite;
    animation-delay: 3s;
}
  
@keyframes scaleButton {
    0% {
        transform: scale(1.0);
    }
    5% {
        transform: scale(0.9);
    }
    10% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.0);
    }
}

.offcanvas-bottom {
    background: #222222; 
    min-height: 70%; 
    border-top-left-radius: 1rem; 
    border-top-right-radius: 1rem; 
    border: 1px solid #2b2b2b !important; 
    border-bottom: none;
}

.offcanvas-end {
    background: #222222; 
    border-top-left-radius: 1rem; 
    border-bottom-left-radius: 1rem; 
    border: 1px solid #2b2b2b !important; 
    border-right: none;
}

.offcanvas-body {
    color: #ffffff; 
    font-size: 0.91rem;
}

.modal-header {
    z-index: 2;
}

.modal-content {
    background: #222222 !important;
    border: 1px solid #2b2b2b;
    width: auto !important;
    margin: 0px auto;
    min-width: 280px;
    border-radius: 0.8rem;
}

/* Radio Button */

.app-btn-group {
    background: #2d2d2d;
    border-radius: 0.8rem;
    padding: 4px;
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    background: #3b3b3b;
    border-radius: 0.5rem;
}
.btn-group > .btn-group:not(:last-child) > .btn, .btn-group > .btn.dropdown-toggle-split:first-child, .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border: none;
    border-radius: 0.5rem;
}
.btn-group > .btn-group:not(:first-child), .btn-group > :not(.btn-check:first-child) + .btn {
    border: none;
}

.lang-select {
    cursor: pointer !important;
}

/* Form */

.form-check {
    /* display: block; */
    min-height: 0;
    /* padding-left: 1.5em; */
    margin-bottom: 0;
}
.form-check-input:checked {
    background-color: #b12077 !important;
    border-color: #b12077 !important;
}
.form-check-input:focus {
    border-color: none !important;
    outline: 0;
    box-shadow: none !important;
}

.input-dark {
    color: #e9ecef !important;
    background-color: #343a40 !important;
    border: 1px solid #464d54 !important;
}

input::placeholder {
    color: #8f8f8f !important;
    font-weight: normal !important;
}
input::-webkit-input-placeholder {
    color: #8f8f8f !important;
}
input::-moz-placeholder {
    color: #8f8f8f !important;
} 
input:-ms-input-placeholder {
    color: #8f8f8f !important;
}
input::-ms-input-placeholder {
    color: #8f8f8f !important;
}

input[type="text"]:disabled, textarea:disabled {
    cursor: not-allowed !important;
}
input[type="text"]:focus, textarea:focus {
    border: 1px solid #b12077 !important;
    outline: 0;
    box-shadow: none !important
}
.input-icon i {
    color: #cccccc;
    cursor: pointer;
    font-size: 1.1rem !important;
    transition: all 0.2s;
}
.input-icon i:hover {
    color: #aaaaaa;
}

.input-icon-small i {
    color: #b12077;
    cursor: pointer;
    font-size: 0.81rem !important;
    transition: all 0.2s;
}
.input-icon-small i:hover {
    color: #991c67;
}

.trans-icon {
    border-radius: 50%;
    background: #3b3b3b;
    border: 1px solid #3b3b3b;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
}
.trans-icon img {
    width: 18px;
}

/* .form-select:focus { 
    border-color: #b12077 !important;
}
input:focus { 
    border-color: #b12077 !important;
}
.form-switch .form-check-input:focus {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23bfbfbf'/%3e%3c/svg%3e");
}
.form-control:focus { 
    border-color: #b12077 !important; 
} */

/* Offcanvas */

.close-link, .close-link2 { position: absolute; right: 0; top: 0; padding: 1rem; color: #ffffff; }
.close-wrapper { background: #333333; border-radius: 50%; width: 25px; height: 25px; text-align: center; }
.close-wrapper i { font-size: 0.81rem; vertical-align: middle; }

/* Alerts */

.alert-wrapper {
    top: 1rem; 
    z-index: 2; 
    background: #3b3b3b; 
    border-radius: 0.5rem; 
    left: 0; 
    right: 0; 
    color: #ffffff; 
    font-size: 0.88rem; 
    border: 1px solid #444444;
}

.alert-success { font-size: 1rem; color: #17be49; }
.alert-warning { font-size: 1rem; color: #ffa726; }
.alert-danger { font-size: 1rem; color: #ff3f26; }

/* Link */

.icon-link {
    display: block !important;
}
.icon-link i {
    color: #8f8f8f;
}
/* .icon-link:focus i {
    color: #ffffff;
} */

/* Progress */

.circle-progress-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: relative;
    background-color: #303030; /* Inner circle color */
}  
.circle-progress-small::before {
    content: '';
    position: absolute;
    top: 0; /* Adjust for border width */
    left: 0;
    width: 26px; /* Original size + border width (2x3px) */
    height: 26px;
    border-radius: 50%;
    background: var(--progress-gradient, conic-gradient(#3b3b3b 0%, #3b3b3b 100%));
    -webkit-mask: radial-gradient(circle, transparent 47%, black 48%);
    mask: radial-gradient(circle, transparent 47%, black 48%);
}

/* Dropdown */
.dropdown-menu {
    background: #363636;
    line-height: 1.4rem;
    margin-top: 3px !important;
    border-radius: 0.6rem;
    border: 1px solid #3b3b3b !important;
}
.dropdown-item {
    color: #ffffff;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #3b3b3b !important;
}
.dropdown-item:hover {
    background-color: #3b3b3b !important;
    color: #ffffff;
}

/* Form */

.form-control {
    background: #363636;
    border: 1px solid #3b3b3b;
    color: #ffffff;
}

.form-control:focus {
    background: #363636;
    /* border: 1px solid #3b3b3b; */
    color: #ffffff;
}

.form-floating>.form-select {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  .form-floating > .form-control, .form-floating > .form-control-plaintext, .form-floating > .form-select {
    min-height: auto !important;
  }
  .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
    opacity: 1.0 !important;
    transform: scale(.75) translateY(-0.8rem) translateX(0.7rem) !important;
    height: 24px !important;
    padding-top: 0px !important;
    padding-left: 6px !important;
    padding-right: 5px !important;
    background: #fff !important;
    /* color: #6c757d !important; */
    max-height: 38px;
    height: 38px;
  }
  .form-floating > .form-control:disabled ~ label::after, .form-floating > :disabled ~ label::after {
    background-color: #f8f9fa !important;
  }
  /* .form-floating>.form-control:hover~label {
    opacity: 1.0 !important;
    transform: scale(.75) translateY(-0.75rem) translateX(0.7rem) !important;
    height: 15px !important;
    padding-top: 0 !important;
    padding-left: 6px !important;
    padding-right: 5px !important;
    background: #fff !important;
    color: #b12077 !important;
  } */
  .form-floating>.form-control:focus~label {
    opacity: 1.0 !important;
    transform: scale(.75) translateY(-0.8rem) translateX(0.7rem) !important;
    height: 24px !important;
    padding-top: 0 !important;
    padding-left: 6px !important;
    padding-right: 5px !important;
    background: #fff !important;
    color: #b12077 !important;
  }
  .form-floating>label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 0.375rem 0.75rem !important;
    pointer-events: none;
    border: none;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
    color: #6c757d !important;
  }
  .form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

/* Margin */

.m-top-5 { margin-top: 5rem; }
.m-top-15 { margin-top: 15rem; }