.yclients-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.yclients-modal.active {
    display: flex;
}

.yclients-modal-content {
    background: #fff;
    max-width: 500px;
    width: 100%;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: yclientsSlideIn 0.3s ease;
}

@keyframes yclientsSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yclients-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.yclients-modal-close:hover {
    color: #333;
}

.yclients-modal-title {
    color: #721c24;
    margin: 0 0 15px 0;
    font-size: 20px;
}

.yclients-modal-text {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

.yclients-link {
    color: #2c5aa0;
    text-decoration: underline;
}

.yclients-link:hover {
    text-decoration: none;
}

.yclients-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.yclients-checkbox {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.yclients-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.yclients-btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.yclients-btn-cancel {
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
}

.yclients-btn-cancel:hover {
    background: #f5f5f5;
}

.yclients-btn-proceed {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

.yclients-btn-proceed.active {
    background: #2c5aa0;
    color: #fff;
    cursor: pointer;
}

.yclients-btn-proceed.active:hover {
    background: #1e3d6f;
}

/* Адаптивность */
@media (max-width: 600px) {
    .yclients-modal-content {
        padding: 20px;
        margin: 10px;
    }
    
    .yclients-modal-buttons {
        flex-direction: column;
    }
    
    .yclients-btn {
        width: 100%;
        text-align: center;
    }
}