@import url('https://fonts.cdnfonts.com/css/d-din');

                
body, html, div, p, ul, ol, dl, li, b, i, a, h5, h5 p, button, h2 { 
    font-family: 'D-DIN', sans-serif !important;
}

.content p, .content i, .content span, .content a, #shopingCard span, #shopingCard a, #shopingCard p, .steps-container span, .order_info h4 {
    font-family: 'D-DIN', sans-serif !important;
}

/* body {
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
            background-color: #f0f0f0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        } */

#teamlab-modal *{
    font-family: 'D-DIN', sans-serif !important;
}
        
.open-modal-btn {
    padding: 12px 24px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active-m {
    display: flex;
}

#teamlab-modal {
    background-color: #f0f0f0;
    /* border-radius: 12px; */
    /* width: 600px; */
    width: 70%;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    /* overflow-y: visible; */
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#teamlab-modal .close-btn-m {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#teamlab-modal .modal-content {
    padding: 45px 32px 32px 32px;
    background: #f0f0f0 !important;
}

#teamlab-modal .modal-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    padding-right: 40px;
}

#teamlab-modal .modal-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 24px 0;
    line-height: 1.4;
}

#teamlab-modal .date-time-row {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

#teamlab-modal .date-time-row>div {
    flex: 1;
}

#teamlab-modal .dropdown-container {
    position: relative;
    width: 100%;
}

#teamlab-modal .dropdown {
    /* width: 100%; */
    padding: 8px 16px;
    border: 1px solid #727272 !important;
    border-radius: 24px;
    background-color: #f8f8f8;
    font-size: 16px;
    color: #333;
    appearance: none;
    cursor: pointer;
    position: relative;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

#teamlab-modal .dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 24px;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

#teamlab-modal .dropdown-option {
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

#teamlab-modal .dropdown-option:last-child {
    border-bottom: none;
}

#teamlab-modal .dropdown-option:hover {
    background-color: #f8f8f8;
}

#teamlab-modal .dropdown-option.selected {
    background-color: #f0f0f0;
    font-weight: 500;
}

#teamlab-modal .dropdown-option.sold-out {
    color: #999;
}

#teamlab-modal .dropdown-option.selling-fast {
    color: #333;
}

#teamlab-modal .dropdown-option.available {
    color: #333;
}

#teamlab-modal .section-title {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
    padding-top: 24px;
    border-top: 1px solid rgb(223, 223, 223);

}

#teamlab-modal .section-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
    padding-bottom: 24px;
    line-height: 1.4;
    border-bottom: 1px solid rgb(223, 223, 223);
}

#teamlab-modal .ticket-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    /* border-bottom: 1px solid #f0f0f0; */
}

#teamlab-modal .ticket-item:last-child {
    border-bottom: none;
}

#teamlab-modal .ticket-main {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#teamlab-modal .ticket-info {
    flex: 1;
}

#teamlab-modal .ticket-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#teamlab-modal .info-icon {
    width: 16px;
    height: 16px;
    background-color: #666;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

#teamlab-modal .ticket-description {
    font-size: 13px;
    color: #888;
    margin: 4px 0 0 0;
}

#teamlab-modal .ticket-price {
    font-size: 16px;
    /* font-weight: 600; */
    color: #333;
    margin: 0 24px 0 16px;
}

#teamlab-modal .quantity-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

#teamlab-modal .quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #000;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

#teamlab-modal .quantity-btn:hover {
    background-color: #333;
}

#teamlab-modal .quantity-display {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    min-width: 20px;
    text-align: center;
}

#teamlab-modal .category-header {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin: 24px 0 8px 0;
}

#teamlab-modal .category-description {
    font-size: 13px;
    color: #888;
    margin: 0 0 16px 0;
}

#teamlab-modal .total-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
}

#teamlab-modal .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

#teamlab-modal .total-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

#teamlab-modal .total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

#teamlab-modal .total-note {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

#teamlab-modal .dropdown-list {
    max-height: 200px;
    /* или любая другая высота */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Опционально для более красивого скролла */
#teamlab-modal .dropdown-list::-webkit-scrollbar {
    width: 6px;
}

#teamlab-modal .dropdown-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#teamlab-modal .dropdown-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#teamlab-modal .dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.ovf-y-v {
    overflow-y: visible !important;
}





#teamlab-modal .modal-controls {
    display: flex;
    margin-top: 30px;
    width: 100%;
    justify-content: space-evenly;
}

#teamlab-modal .check-out-btn {
    border-radius: 20px;
    background-color: #2b2b2b;
    color: white;
    border: none;
    padding: 7px 50px;
    cursor: pointer;
    font-size: 13px;
    border: 2px solid #2b2b2b !important;
}

#teamlab-modal .add-to-cart-btn {
    border-radius: 20px;
    color: #202125;
    border: none;
    padding: 7px 50px;
    cursor: pointer;
    font-size: 13px;
    border: 2px solid #505157;
}

#teamlab-modal .loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
}

#teamlab-modal .spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #ccc;
  border-top-color: #007BFF; /* Синий */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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


.circle-loader {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 50px auto;
}

.circle {
  width: 6px;
  height: 6px;
  background-color: #000;
  border-radius: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -3px 0 0 -3px;
  animation: fade 1.2s infinite ease-in-out both;
}

@keyframes fade {
  0%, 39%, 100% {
    opacity: 0.3;
  }
  40% {
    opacity: 1;
  }
}

/* Расставляем 12 точек по кругу */
.circle1  { transform: rotate(0deg)   translate(20px); animation-delay: -1.1s; }
.circle2  { transform: rotate(30deg)  translate(20px); animation-delay: -1.0s; }
.circle3  { transform: rotate(60deg)  translate(20px); animation-delay: -0.9s; }
.circle4  { transform: rotate(90deg)  translate(20px); animation-delay: -0.8s; }
.circle5  { transform: rotate(120deg) translate(20px); animation-delay: -0.7s; }
.circle6  { transform: rotate(150deg) translate(20px); animation-delay: -0.6s; }
.circle7  { transform: rotate(180deg) translate(20px); animation-delay: -0.5s; }
.circle8  { transform: rotate(210deg) translate(20px); animation-delay: -0.4s; }
.circle9  { transform: rotate(240deg) translate(20px); animation-delay: -0.3s; }
.circle10 { transform: rotate(270deg) translate(20px); animation-delay: -0.2s; }
.circle11 { transform: rotate(300deg) translate(20px); animation-delay: -0.1s; }
.circle12 { transform: rotate(330deg) translate(20px); animation-delay: 0s; }




#teamlab-modal .modal-group {
    border-bottom: 1px solid rgb(223, 223, 223);
}

@media (max-width: 600px) {
    #teamlab-modal {
        max-width: none;
        max-height: none;
        width: 100%;
        height: 100%;
    }

    #teamlab-modal .modal-content { 
        box-shadow: none !important;
    }

    #teamlab-modal .date-time-row {
        flex-direction: column;
    }

    /* #teamlab-modal .dropdown {
        font-size: 13px;
    } */

    #teamlab-modal .dropdown-list {
        border-radius: 12px;
    }

    #teamlab-modal .dropdown-list::-webkit-scrollbar {
        width: 2px !important;
    }

    #teamlab-modal .ticket-main {
        flex-direction: column;
        align-items: flex-start;
    }
    #teamlab-modal .ticket-price {
        margin: 0;
    }

    #teamlab-modal .quantity-btn { 
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    #teamlab-modal .quantity-controls {
        gap: 8px;
    }
}