/* Стили для приветственного popup */
#welcomeModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#welcomeModal .modal-header {
    background: linear-gradient(135deg, #007EFF 0%, #0056CC 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

#welcomeModal .modal-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
}

#welcomeModal .close {
    color: white;
    opacity: 1;
    text-shadow: none;
    font-size: 1.5rem;
    font-weight: 300;
}

#welcomeModal .close:hover {
    color: #f8f9fa;
    opacity: 0.75;
}

#welcomeModal .modal-body {
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

#welcomeModal .modal-body p {
    margin-bottom: 1rem;
}

#welcomeModal .modal-body ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

#welcomeModal .modal-body li {
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 1rem;
    padding-left: 0;
    position: relative;
}

#welcomeModal .modal-body li:before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.1rem;
}

#welcomeModal .modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

#welcomeModal .btn-primary {
    background: linear-gradient(135deg, #007EFF 0%, #0056CC 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: none;
}

#welcomeModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 126, 255, 0.4);
    background: linear-gradient(135deg, #0056CC 0%, #004499 100%);
}

/* Анимация появления модального окна */
#welcomeModal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

#welcomeModal.show .modal-dialog {
    transform: none;
}

/* Стили для эмодзи в списке */
#welcomeModal .modal-body li {
    display: flex;
    align-items: flex-start;
}

#welcomeModal .modal-body li:before {
    content: "";
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Стили для нового pop-up партнеров */
#partnerModal {
    z-index: 9999;
}

#partnerModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    background: white;
}

#partnerModal .modal-content-wrapper {
    padding: 2rem;
    padding-top: 3rem;
    text-align: center;
}

#partnerModal .close {
    color: #666;
    opacity: 1;
    text-shadow: none;
    font-size: 1.8rem;
    font-weight: 300;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#partnerModal .close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}



#partnerModal .modal-image-container {
    text-align: center;
    margin-bottom: 2rem;
}

#partnerModal .modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#partnerModal .modal-action {
    margin-bottom: 2rem;
}

#partnerModal .btn-learn-more {
    background: #007EFF;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

#partnerModal .btn-learn-more:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 126, 255, 0.4);
    color: white;
    text-decoration: none;
}



#partnerModal .modal-footer {
    border-top: none;
    padding: 0;
    background: transparent;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

#partnerModal .modal-footer-text {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

#partnerModal .modal-footer-text a {
    color: #999;
    text-decoration: underline;
}

#partnerModal .modal-footer-text a:hover {
    color: #666;
}

/* Анимация появления */
#partnerModal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px) scale(0.9);
}

#partnerModal.show .modal-dialog {
    transform: none;
}

/* Адаптивность */
@media (max-width: 576px) {
    #partnerModal .modal-content {
        margin: 1rem;
        max-width: none;
    }
    
    #partnerModal .modal-title {
        font-size: 1.5rem;
    }
    
    #partnerModal .modal-subtitle {
        font-size: 1rem;
    }
    
    #partnerModal .modal-body {
        padding: 1.5rem;
    }
    

} 