/* Feature Modal Styles */
.feature-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    backdrop-filter: blur(3px);
}

.feature-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.feature-modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.feature-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.feature-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.feature-modal-body {
    padding: 25px;
    line-height: 1.6;
}

.feature-modal-body p {
    margin: 0 0 15px 0;
    color: #555;
}

.feature-modal-body ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.feature-modal-body li {
    margin: 12px 0;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.feature-modal-body li:last-child {
    border-bottom: none;
}

.feature-modal-footer {
    padding: 20px 25px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
}

.feature-modal-checkbox {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.feature-modal-checkbox input {
    margin-right: 8px;
    cursor: pointer;
}

.feature-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.feature-modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-modal-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .feature-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .feature-modal-header,
    .feature-modal-body,
    .feature-modal-footer {
        padding: 15px 20px;
    }
    
    .feature-modal-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-modal-btn {
        width: 100%;
    }
}